2008-06-18 08:08:48 -07:00
|
|
|
#ifndef ASM_X86__UCONTEXT_H
|
|
|
|
#define ASM_X86__UCONTEXT_H
|
2007-10-15 04:57:47 -07:00
|
|
|
|
2008-07-29 10:29:25 -07: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 04:57:47 -07: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 08:08:48 -07:00
|
|
|
#endif /* ASM_X86__UCONTEXT_H */
|