summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7f0679e)
This macro can be used on ARM to specify functions that does not need
prologue/epilogue.
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3352
38d2e660-2303-0410-9eaa-
f027e97ec537
#define RESTRICT __restrict__
#define MUST_CHECK __attribute__((warn_unused_result))
#define PACKED __attribute__((packed))
#define RESTRICT __restrict__
#define MUST_CHECK __attribute__((warn_unused_result))
#define PACKED __attribute__((packed))
+ #if CPU_ARM | CPU_CM3
+ #define NAKED __attribute__((naked))
+ #else
+ #define NAKED
+ #endif
+
/**
* Force compiler to realod context variable.
*/
/**
* Force compiler to realod context variable.
*/