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