summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/uapi/asm/sigcontext32.h
blob: 19a89165ea1d261dc45c71212b7eaa8e6334e687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef _ASM_X86_SIGCONTEXT32_H
#define _ASM_X86_SIGCONTEXT32_H

/* Signal context definitions for compat 32-bit programs: */

#include <asm/sigcontext.h>

/* 32-bit compat sigcontext: */
struct sigcontext_ia32 {
       __u16				gs, __gsh;
       __u16				fs, __fsh;
       __u16				es, __esh;
       __u16				ds, __dsh;
       __u32				di;
       __u32				si;
       __u32				bp;
       __u32				sp;
       __u32				bx;
       __u32				dx;
       __u32				cx;
       __u32				ax;
       __u32				trapno;
       __u32				err;
       __u32				ip;
       __u16				cs, __csh;
       __u32				flags;
       __u32				sp_at_signal;
       __u16				ss, __ssh;
       __u32				fpstate;	/* Pointer to 'struct _fpstate_ia32' */
       __u32				oldmask;
       __u32				cr2;
};

#endif /* _ASM_X86_SIGCONTEXT32_H */