kernel: print spurious interrupt message with increasing interval.
[minix.git] / include / arch / i386 / mcontext.h
blob312308d27c326f5301d5d62d8862ba4ee3f6e7d0
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 {
11 int mc_magic;
12 struct stackframe_s mc_p_reg;
13 #if (_MINIX_CHIP == _CHIP_INTEL)
14 union fpu_state_u mc_fpu_state;
15 #endif
16 short mc_fpu_flags;
17 } mcontext_t;
19 _PROTOTYPE( int setmcontext, (const mcontext_t *mcp) );
20 _PROTOTYPE( int getmcontext, (mcontext_t *mcp) );
22 #endif /* _MACHINE_MCONTEXT_H */