2008-10-23 12:26:29 +07:00
|
|
|
#ifndef _ASM_X86_UCONTEXT_H
|
|
|
|
#define _ASM_X86_UCONTEXT_H
|
2007-10-15 18:57:47 +07:00
|
|
|
|
2008-07-30 00: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 18: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-10-23 12:26:29 +07:00
|
|
|
#endif /* _ASM_X86_UCONTEXT_H */
|