1 #ifndef _ASMi386_SIGCONTEXT_H 2 #define _ASMi386_SIGCONTEXT_H 3 4 struct sigcontext_struct { 5 unsigned short gs, __gsh; 6 unsigned short fs, __fsh; 7 unsigned short es, __esh; 8 unsigned short ds, __dsh; 9 unsigned long edi; 10 unsigned long esi; 11 unsigned long ebp; 12 unsigned long esp; 13 unsigned long ebx; 14 unsigned long edx; 15 unsigned long ecx; 16 unsigned long eax; 17 unsigned long trapno; 18 unsigned long err; 19 unsigned long eip; 20 unsigned short cs, __csh; 21 unsigned long eflags; 22 unsigned long esp_at_signal; 23 unsigned short ss, __ssh; 24 unsigned long i387; 25 unsigned long oldmask; 26 unsigned long cr2; 27 }; 28 29 #endif