1 #ifndef __LUNAIX_INTERRUPTS_H
2 #define __LUNAIX_INTERRUPTS_H
7 #include <lunaix/compiler.h>
10 #define saved_fp(isrm) ((isrm)->registers.ebp)
11 #define kernel_context(isrm) (!(((isrm)->execp->cs) & 0b11))
33 struct regcontext registers;
37 volatile struct exec_param* execp;
43 struct pcontext* saved_prev_ctx;
55 #endif /* __LUNAIX_INTERRUPTS_H */