include/asm-i386/sigcontext.h
11782 #ifndef _ASMi386_SIGCONTEXT_H
11783 #define _ASMi386_SIGCONTEXT_H
11784
11785 /* As documented in the iBCS2 standard..
11786 *
11787 * The first part of "struct _fpstate" is just the normal
11788 * i387 hardware setup, the extra "status" word is used
11789 * to save the coprocessor status word before entering
11790 * the handler. */
11791 struct _fpreg {
11792 unsigned short significand[4];
11793 unsigned short exponent;
11794 };
11795
11796 struct _fpstate {
11797 unsigned long cw,
11798 sw,
11799 tag,
11800 ipoff,
11801 cssel,
11802 dataoff,
11803 datasel;
11804 struct _fpreg _st[8];
11805 unsigned long status;
11806 };
11807
11808 struct sigcontext {
11809 unsigned short gs, __gsh;
11810 unsigned short fs, __fsh;
11811 unsigned short es, __esh;
11812 unsigned short ds, __dsh;
11813 unsigned long edi;
11814 unsigned long esi;
11815 unsigned long ebp;
11816 unsigned long esp;
11817 unsigned long ebx;
11818 unsigned long edx;
11819 unsigned long ecx;
11820 unsigned long eax;
11821 unsigned long trapno;
11822 unsigned long err;
11823 unsigned long eip;
11824 unsigned short cs, __csh;
11825 unsigned long eflags;
11826 unsigned long esp_at_signal;
11827 unsigned short ss, __ssh;
11828 struct _fpstate * fpstate;
11829 unsigned long oldmask;
11830 unsigned long cr2;
11831 };
11832
11833
11834 #endif
Сайт управляется системой
uCoz