#ifndef _KERNEL_H #define _KERNEL_H /* * Attribute definitions */ #define __align(_b) __attribute__((aligned(_b))) #define __depricated __attribute__((depricated)) #define __packed __attribute__((packed)) #define __noreturn __attribute__((noreturn)) #define __const __attribute__((const)) #define __pure __attribute__((pure)) #define __inline __attribute__((always_inline)) #define __no_inline __attribute__((never_inline)) #define __section(_s) __attribute__((section(_s))) #define __cold __attribute__((cold)) #define __hot __attribute__((hot)) #define __naked __attribute__((naked)) /* * Utility macros */ #define sizeof_array(_a) () #endif