blob: 9bf4ae93ab10b3a549efaac717fcdce0f81a158d [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _I386_MATH_EMU_H
2#define _I386_MATH_EMU_H
3
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};
31#endif