Tenok
A Linux-like Real-Time Operating System for Robotics and Internet of Things
linkage.h
Go to the documentation of this file.
1 
4 #ifndef __LINKAGE_H__
5 #define __LINKAGE_H__
6 
7 #define ENTRY(name) \
8  .global name; \
9  name:
10 
11 #define END(name) .size name, .- name /* Calculate the section size */
12 
13 #define ENDPROC(name) \
14  .type name, % function; \
15  END(name)
16 
17 #endif