22 lines
483 B
C
22 lines
483 B
C
#ifndef _KERNEL_INCLUDES_H
|
|
#define _KERNEL_INCLUDES_H
|
|
|
|
#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)))
|
|
|
|
#endif
|