From 0487d0193161eae0f56d2f9eab0d901dc8d0fe07 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 5 Nov 2006 19:55:48 +0000 Subject: 2006-11-05 Samuel Thibault 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. --- i386/intel/pmap.c | 1 + i386/intel/pmap.h | 1 + 2 files changed, 2 insertions(+) (limited to 'i386/intel') 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 #include #include +#include #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 #include #include +#include /* * Define the generic in terms of the specific -- cgit v1.2.3