1 #ifndef _MACHINE_MCONTEXT_H
2 #define _MACHINE_MCONTEXT_H 1
4 #include <machine/fpu.h>
5 #include <machine/stackframe.h>
7 #define MCF_MAGIC 0xc0ffee
9 /* Context to describe processor state */
10 typedef struct __mcontext
{
12 struct stackframe_s mc_p_reg
;
13 union fpu_state_u mc_fpu_state
;
18 int setmcontext(const mcontext_t
*mcp
);
19 int getmcontext(mcontext_t
*mcp
);
22 #endif /* _MACHINE_MCONTEXT_H */