#ifndef _KERNEL_INCLUDES_H #define _KERNEL_INCLUDES_H #define ESPRESSO_KERNEL_ #define KERNEL_VERSION "0.0.2c" #define KERNEL_RELEASE_YEAR "2026" #define _STATE_NORMAL 0 #define _STATE_HANDLED 1 #define _STATE_INTERRUPT -1 #define _STATE_EXCEPTION -2 #define _STATE_CRASH -555 #define __always_inline inline __attribute__((always_inline)) #define __hot __attribute__((hot)) #define __cold __attribute__((cold)) #define __noreturn __attribute__((noreturn)) #define __section(x) __attribute__((section(x))) #define __noreturn __attribute__((noreturn)) extern void _cli_asm(void); extern void _sti_asm(void); #define IRQ_DISABLE() _cli_asm(); #define IRQ_ENABLE() _sti_asm(); //#define DEBUG_USE_SSE2 #endif