1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- #if !defined _SIGNAL_H && !defined _SYS_UCONTEXT_H
- # error "Never use <bits/sigcontext.h> directly; include <signal.h> instead."
- #endif
- #ifndef _BITS_SIGCONTEXT_H
- #define _BITS_SIGCONTEXT_H 1
- #define __need_size_t
- #include <stddef.h>
- #include <bits/sigstack.h>
- struct ia64_fpreg
- {
- union
- {
- unsigned long bits[2];
- } u;
- } __attribute__ ((aligned (16)));
- struct sigcontext
- {
- unsigned long int sc_flags;
- unsigned long int sc_nat;
- stack_t sc_stack;
- unsigned long int sc_ip;
- unsigned long int sc_cfm;
- unsigned long int sc_um;
- unsigned long int sc_ar_rsc;
- unsigned long int sc_ar_bsp;
- unsigned long int sc_ar_rnat;
- unsigned long int sc_ar_ccv;
- unsigned long int sc_ar_unat;
- unsigned long int sc_ar_fpsr;
- unsigned long int sc_ar_pfs;
- unsigned long int sc_ar_lc;
- unsigned long int sc_pr;
- unsigned long int sc_br[8];
- unsigned long int sc_gr[32];
- struct ia64_fpreg sc_fr[128];
- unsigned long int sc_rbs_base;
- unsigned long int sc_loadrs;
- unsigned long int sc_ar25;
- unsigned long int sc_ar26;
- unsigned long int sc_rsvd[12];
-
- unsigned long int sc_mask;
- };
- #define IA64_SC_FLAG_ONSTACK_BIT 0
- #define IA64_SC_FLAG_IN_SYSCALL_BIT 1
- #define IA64_SC_FLAG_FPH_VALID_BIT 2
- #define IA64_SC_FLAG_ONSTACK (1 << IA64_SC_FLAG_ONSTACK_BIT)
- #define IA64_SC_FLAG_IN_SYSCALL (1 << IA64_SC_FLAG_IN_SYSCALL_BIT)
- #define IA64_SC_FLAG_FPH_VALID (1 << IA64_SC_FLAG_FPH_VALID_BIT)
- #endif
|