Files
Espresso/include/kincl.h

22 lines
483 B
C
Raw Normal View History

2025-07-07 10:41:05 -05:00
#ifndef _KERNEL_INCLUDES_H
#define _KERNEL_INCLUDES_H
2026-02-12 20:33:46 -06:00
#define ESPRESSO_KERNEL_
#define KERNEL_VERSION "0.0.2a"
#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)))
2025-07-07 10:41:05 -05:00
#endif