ucontext.h 493 字节
Newer Older
H
H. Peter Anvin 已提交
1 2
#ifndef _ASM_X86_UCONTEXT_H
#define _ASM_X86_UCONTEXT_H
3

4 5 6 7 8 9
#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).
				 */

10 11 12 13 14 15 16 17
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 */
};

H
H. Peter Anvin 已提交
18
#endif /* _ASM_X86_UCONTEXT_H */