2008-10-23 13:26:29 +08:00
|
|
|
#ifndef _ASM_X86_MATH_EMU_H
|
|
|
|
#define _ASM_X86_MATH_EMU_H
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2009-02-09 21:17:39 +08:00
|
|
|
#include <asm/ptrace.h>
|
|
|
|
#include <asm/vm86.h>
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* This structure matches the layout of the data saved to the stack
|
|
|
|
following a device-not-present interrupt, part of it saved
|
|
|
|
automatically by the 80386/80486.
|
|
|
|
*/
|
2009-02-09 21:17:39 +08:00
|
|
|
struct math_emu_info {
|
2005-04-17 06:20:36 +08:00
|
|
|
long ___orig_eip;
|
2009-02-09 21:17:39 +08:00
|
|
|
union {
|
2009-02-09 21:17:39 +08:00
|
|
|
struct pt_regs *regs;
|
|
|
|
struct kernel_vm86_regs *vm86;
|
2009-02-09 21:17:39 +08:00
|
|
|
};
|
2005-04-17 06:20:36 +08:00
|
|
|
};
|
2008-10-23 13:26:29 +08:00
|
|
|
#endif /* _ASM_X86_MATH_EMU_H */
|