xref: /openbmc/linux/arch/x86/include/asm/math_emu.h (revision 8fa5723aa7e053d498336b48448b292fc2e0458b)
1 #ifndef _ASM_X86_MATH_EMU_H
2 #define _ASM_X86_MATH_EMU_H
3 
4 /* This structure matches the layout of the data saved to the stack
5    following a device-not-present interrupt, part of it saved
6    automatically by the 80386/80486.
7    */
8 struct info {
9 	long ___orig_eip;
10 	long ___ebx;
11 	long ___ecx;
12 	long ___edx;
13 	long ___esi;
14 	long ___edi;
15 	long ___ebp;
16 	long ___eax;
17 	long ___ds;
18 	long ___es;
19 	long ___fs;
20 	long ___orig_eax;
21 	long ___eip;
22 	long ___cs;
23 	long ___eflags;
24 	long ___esp;
25 	long ___ss;
26 	long ___vm86_es; /* This and the following only in vm86 mode */
27 	long ___vm86_ds;
28 	long ___vm86_fs;
29 	long ___vm86_gs;
30 };
31 #endif /* _ASM_X86_MATH_EMU_H */
32