diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2006-11-05 19:55:48 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:26:50 +0200 |
commit | 0487d0193161eae0f56d2f9eab0d901dc8d0fe07 (patch) | |
tree | f4a4d4d374d5d33943ddae93fd46aa5f71ec3d1e /i386/i386at | |
parent | ffc607f8a4c1c6f1c63a7b61b54f185ada87a9a5 (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/i386at')
-rw-r--r-- | i386/i386at/iopl.c | 1 | ||||
-rw-r--r-- | i386/i386at/kd.c | 1 | ||||
-rw-r--r-- | i386/i386at/kd_event.c | 1 | ||||
-rw-r--r-- | i386/i386at/kd_mouse.c | 1 | ||||
-rw-r--r-- | i386/i386at/rtc.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/i386/i386at/iopl.c b/i386/i386at/iopl.c index ae67568..a732314 100644 --- a/i386/i386at/iopl.c +++ b/i386/i386at/iopl.c @@ -35,6 +35,7 @@ #include <i386/io_port.h> #include <i386/pit.h> +#include <i386/pio.h> /* * IOPL device. diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c index 3858f70..f7b3fc8 100644 --- a/i386/i386at/kd.c +++ b/i386/i386at/kd.c @@ -86,6 +86,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include <vm/vm_kern.h> #include <i386/vm_param.h> #include <i386/machspl.h> +#include <i386/pio.h> #include <i386at/cram.h> #include <i386at/kd.h> #include <i386at/kdsoft.h> diff --git a/i386/i386at/kd_event.c b/i386/i386at/kd_event.c index dbd1cbd..909f066 100644 --- a/i386/i386at/kd_event.c +++ b/i386/i386at/kd_event.c @@ -72,6 +72,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include <sys/tty.h> #endif /* MACH_KERNEL */ #include <i386/machspl.h> +#include <i386/pio.h> #include <i386at/kd.h> #include <i386at/kd_queue.h> diff --git a/i386/i386at/kd_mouse.c b/i386/i386at/kd_mouse.c index ecd28a4..82fdd78 100644 --- a/i386/i386at/kd_mouse.c +++ b/i386/i386at/kd_mouse.c @@ -80,6 +80,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include <sys/tty.h> #endif /* MACH_KERNEL */ #include <i386/ipl.h> +#include <i386/pio.h> #include <chips/busses.h> #include <i386at/kd.h> #include <i386at/kd_queue.h> diff --git a/i386/i386at/rtc.c b/i386/i386at/rtc.c index 96aa86d..0f72792 100644 --- a/i386/i386at/rtc.c +++ b/i386/i386at/rtc.c @@ -50,6 +50,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include <sys/time.h> #include <kern/time_out.h> #include <i386/machspl.h> +#include <i386/pio.h> #include <i386at/rtc.h> static unsigned char rtc[RTC_NREG]; |