2008-06-18 09:08:48 -06:00
|
|
|
#ifndef ASM_X86__UCONTEXT_H
|
|
|
|
#define ASM_X86__UCONTEXT_H
|
2007-10-15 05:57:47 -06:00
|
|
|
|
2008-07-29 11:29:25 -06:00
|
|
|
#define UC_FP_XSTATE 0x1 /* indicates the presence of extended state
|
|
|
|
* information in the memory layout pointed
|
|
|
|
* by the fpstate pointer in the ucontext's
|
|
|
|
* sigcontext struct (uc_mcontext).
|
|
|
|
*/
|
|
|
|
|
2007-10-15 05:57:47 -06:00
|
|
|
struct ucontext {
|
|
|
|
unsigned long uc_flags;
|
|
|
|
struct ucontext *uc_link;
|
|
|
|
stack_t uc_stack;
|
|
|
|
struct sigcontext uc_mcontext;
|
|
|
|
sigset_t uc_sigmask; /* mask last for extensibility */
|
|
|
|
};
|
|
|
|
|
2008-06-18 09:08:48 -06:00
|
|
|
#endif /* ASM_X86__UCONTEXT_H */
|