1 #ifndef _I386_MATH_EMU_H
2 #define _I386_MATH_EMU_H
3
4 #include <asm/sigcontext.h>
5
6 int restore_i387_soft(void *s387, struct _fpstate *buf);
7 int save_i387_soft(void *s387, struct _fpstate * buf);
8
9 /* This structure matches the layout of the data saved to the stack
10 following a device-not-present interrupt, part of it saved
11 automatically by the 80386/80486.
12 */
13 struct info {
14 long ___orig_eip;
15 long ___ret_from_system_call;
16 long ___ebx;
17 long ___ecx;
18 long ___edx;
19 long ___esi;
20 long ___edi;
21 long ___ebp;
22 long ___eax;
23 long ___ds;
24 long ___es;
25 long ___orig_eax;
26 long ___eip;
27 long ___cs;
28 long ___eflags;
29 long ___esp;
30 long ___ss;
31 long ___vm86_es; /* This and the following only in vm86 mode */
32 long ___vm86_ds;
33 long ___vm86_fs;
34 long ___vm86_gs;
35 };
36 #endif
37
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.