1 #ifndef __LUNAIX_INTERRUPTS_H
2 #define __LUNAIX_INTERRUPTS_H
7 #include <lunaix/compiler.h>
30 struct regcontext registers;
34 volatile struct exec_param* execp;
40 struct pcontext* saved_prev_ctx;
50 #define saved_fp(isrm) ((isrm)->registers.ebp)
51 #define kernel_context(isrm) (!(((isrm)->execp->cs) & 0b11))
55 #endif /* __LUNAIX_INTERRUPTS_H */