diff options
Diffstat (limited to 'sys/i386/i386/math_emulate.c')
-rw-r--r-- | sys/i386/i386/math_emulate.c | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/sys/i386/i386/math_emulate.c b/sys/i386/i386/math_emulate.c index 1b15e61..5013123 100644 --- a/sys/i386/i386/math_emulate.c +++ b/sys/i386/i386/math_emulate.c @@ -35,20 +35,21 @@ * hide most of the 387-specific things here. */ -#include "machine/cpu.h" -#include "machine/psl.h" -#include "machine/reg.h" - -#include "param.h" -#include "systm.h" -#include "proc.h" -#include "user.h" -#include "acct.h" -#include "kernel.h" -#include "signal.h" +#include <sys/param.h> +#include <sys/systm.h> + +#include <machine/cpu.h> +#include <machine/psl.h> +#include <machine/reg.h> + +#include <sys/proc.h> +#include <sys/user.h> +#include <sys/acct.h> +#include <sys/kernel.h> +#include <sys/signal.h> #define __ALIGNED_TEMP_REAL 1 -#include "i386/i386/math_emu.h" +#include "math_emu.h" #define bswapw(x) __asm__("xchgb %%al,%%ah":"=a" (x):"0" ((short)x)) #define ST(x) (*__st((x))) @@ -568,7 +569,7 @@ static int __regoffset[] = { tEAX, tECX, tEDX, tEBX, tESP, tEBP, tESI, tEDI }; -#define REG(x) (curproc->p_regs[__regoffset[(x)]]) +#define REG(x) (curproc->p_md.md_regs[__regoffset[(x)]]) static char * sib(struct trapframe * info, int mod) { |