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