summaryrefslogtreecommitdiff
path: root/i386/i386at/rtc.c
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/i386at/rtc.c
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/i386at/rtc.c')
-rw-r--r--i386/i386at/rtc.c1
1 files changed, 1 insertions, 0 deletions
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];