1 /*
2  * Copyright (c) 2006-2023 RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2023-03-12     WangXiaoyao  the first version
9  */
10 #ifndef __ASM_GENERIC_H__
11 #define __ASM_GENERIC_H__
12 
13 #define START_POINT(funcname)               \
14     .type funcname, %function;	            \
15     .global funcname;                       \
16     funcname:                               \
17     .cfi_sections .debug_frame, .eh_frame;  \
18     .cfi_startproc;                         \
19     .cfi_undefined lr
20 
21 #define START_POINT_END(name)   \
22     .cfi_endproc;               \
23     .size name, .-name;
24 
25 #endif /* __ASM_GENERIC_H__ */
26