blob: 5a65b107ad58350b4eb76bf6aaa4e639d2404b62 [file] [log] [blame]
H. Peter Anvin1965aae2008-10-22 22:26:29 -07001#ifndef _ASM_X86_MATH_EMU_H
2#define _ASM_X86_MATH_EMU_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
Linus Torvalds1da177e2005-04-16 15:20:36 -07004/* 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 */
8struct 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;
Andi Kleen63cb6832006-12-07 02:14:03 +010019 long ___fs;
Linus Torvalds1da177e2005-04-16 15:20:36 -070020 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};
H. Peter Anvin1965aae2008-10-22 22:26:29 -070031#endif /* _ASM_X86_MATH_EMU_H */