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