You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
743 B
26 lines
743 B
/*
|
|
* Copyright (c) 2006-2023 RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2023-03-12 WangXiaoyao the first version
|
|
*/
|
|
#ifndef __ASM_GENERIC_H__
|
|
#define __ASM_GENERIC_H__
|
|
|
|
/* use to mark a start point where every task start from */
|
|
#define START_POINT(funcname) \
|
|
.global funcname; \
|
|
.type funcname, %function; \
|
|
funcname: \
|
|
.cfi_sections .debug_frame, .eh_frame; \
|
|
.cfi_startproc; \
|
|
.cfi_undefined ra
|
|
|
|
#define START_POINT_END(name) \
|
|
.cfi_endproc; \
|
|
.size name, .-name;
|
|
|
|
#endif /* __ASM_GENERIC_H__ */
|
|
|