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 #if (_MINIX_CHIP == _CHIP_INTEL)
14 union fpu_state_u mc_fpu_state
;
19 _PROTOTYPE( int setmcontext
, (const mcontext_t
*mcp
) );
20 _PROTOTYPE( int getmcontext
, (mcontext_t
*mcp
) );
22 #endif /* _MACHINE_MCONTEXT_H */