1 #ifndef _MACHINE_MCONTEXT_H
2 #define _MACHINE_MCONTEXT_H
4 #include <machine/stackframe.h>
6 #define MCF_MAGIC 0xc0ffee
8 /* Context to describe processor state */
9 typedef struct __mcontext
{
11 struct stackframe_s mc_p_reg
;
15 int setmcontext(const mcontext_t
*mcp
);
16 int getmcontext(mcontext_t
*mcp
);
19 #endif /* _MACHINE_MCONTEXT_H */