summaryrefslogtreecommitdiff
path: root/i386/intel
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2006-11-05 19:55:48 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:50 +0200
commit0487d0193161eae0f56d2f9eab0d901dc8d0fe07 (patch)
treef4a4d4d374d5d33943ddae93fd46aa5f71ec3d1e /i386/intel
parentffc607f8a4c1c6f1c63a7b61b54f185ada87a9a5 (diff)
2006-11-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
FPU, CPU and IO stubs cleanup. * i386/i386/fpu.h (fstcw): New macro. * i386/i386/locore.S (_fninit, _fstcw, _fldcw, _fnstsw, _fnclex) (_clts, _fpsave, _fprestore, set_cr3, get_cr3, flush_tlb, get_cr2) (get_ldt, set_ldt, get_tr, set_tr, _setts, outb, inb, outw, inw, outl) (inl, loutb, loutw, linb, linw): Remove functions. * i386/i386/proc_reg.h (flush_tlb): New macro. * i386/i386/db_interface.c: Include `i386/proc_reg.h'. * i386/intel/pmap.c: Likewise. * i386/intel/pmap.h: Likewise. * i386/i386/fpu.c: Include `i386/pio.h'. * i386/i386/pic.c: Likewise. * i386/i386/pit.c: Likewise. * i386/i386at/iopl.c: Likewise. * i386/i386at/kd.c: Likewise. * i386/i386at/kd_event.c: Likewise. * i386/i386at/kd_mouse.c: Likewise. * i386/i386at/rtc.c: Likewise.
Diffstat (limited to 'i386/intel')
-rw-r--r--i386/intel/pmap.c1
-rw-r--r--i386/intel/pmap.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index 6827519..58fc5d4 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -77,6 +77,7 @@
#include <mach/machine/vm_param.h>
#include <machine/thread.h>
#include <i386/cpu_number.h>
+#include <i386/proc_reg.h>
#ifdef ORC
#define OLIVETTICACHE 1
diff --git a/i386/intel/pmap.h b/i386/intel/pmap.h
index 25ccc1a..17dc0ea 100644
--- a/i386/intel/pmap.h
+++ b/i386/intel/pmap.h
@@ -42,6 +42,7 @@
#include <mach/machine/vm_param.h>
#include <mach/vm_statistics.h>
#include <mach/kern_return.h>
+#include <i386/proc_reg.h>
/*
* Define the generic in terms of the specific