H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_MATH_EMU_H |
| 2 | #define _ASM_X86_MATH_EMU_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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; |
Andi Kleen | 63cb683 | 2006-12-07 02:14:03 +0100 | [diff] [blame] | 19 | long ___fs; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | }; |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 31 | #endif /* _ASM_X86_MATH_EMU_H */ |