00001
00013 #ifndef _COMPILER_H_
00014 #define _COMPILER_H_
00015
00017 #define __INLINE static __attribute__((__always_inline__)) inline
00018
00020 #define __IRQ __attribute__((interrupt))
00021
00023 #define __PURE __attribute__((const))
00024
00026 #define __ALIGN4 __attribute__((aligned(4)))
00027
00029 #define __PACKED16 __attribute__ ((__packed__))
00031 #define __PACKED __attribute__ ((__packed__))
00032
00034 #define __MODULE__ __BASE_FILE__
00035
00037 #define __MAYBE_UNUSED __attribute__((unused))
00038
00039
00040
00042 #define __SHAREDRAMIPC __attribute__ ((section("SHAREDRAMIPC")))
00044 #define __SHAREDRAM __attribute__ ((section("SHAREDRAM")))
00046 #define __LARAMMAC __attribute__ ((section("LARAM")))
00048 #define __MIB __attribute__ ((section("MACHWMIB")))
00049
00050 #endif // _COMPILER_H_