2008-10-22 23:26:29 -06:00
|
|
|
#ifndef _ASM_X86_MATH_EMU_H
|
|
|
|
#define _ASM_X86_MATH_EMU_H
|
2005-04-16 16:20:36 -06:00
|
|
|
|
2009-02-09 06:17:39 -07:00
|
|
|
#include <asm/ptrace.h>
|
|
|
|
#include <asm/vm86.h>
|
|
|
|
|
2005-04-16 16:20:36 -06: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 06:17:39 -07:00
|
|
|
struct math_emu_info {
|
2005-04-16 16:20:36 -06:00
|
|
|
long ___orig_eip;
|
2009-02-09 06:17:39 -07:00
|
|
|
union {
|
2009-02-09 06:17:39 -07:00
|
|
|
struct pt_regs *regs;
|
|
|
|
struct kernel_vm86_regs *vm86;
|
2009-02-09 06:17:39 -07:00
|
|
|
};
|
2005-04-16 16:20:36 -06:00
|
|
|
};
|
2008-10-22 23:26:29 -06:00
|
|
|
#endif /* _ASM_X86_MATH_EMU_H */
|