From e52a22a75ad9405fa22e8683a99b3e89398333ca Mon Sep 17 00:00:00 2001 From: nyan Date: Tue, 24 Sep 2002 03:17:38 +0000 Subject: MFi386: revisions 1.127, 1.128 and 1.129. --- sys/pc98/apm/apm.c | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/sys/pc98/apm/apm.c b/sys/pc98/apm/apm.c index e30605d..914be4e 100644 --- a/sys/pc98/apm/apm.c +++ b/sys/pc98/apm/apm.c @@ -20,35 +20,36 @@ #include #include -#include +#include #include +#include +#include #include -#include +#include +#include #include -#include #include -#include -#include -#include #include #include -#include -#include -#include -#include -#include -#include -#include -#include #include +#include +#include -#include -#include -#ifdef PC98 +#include #include +#include +#include +#include #include +#include +#include +#include + #include -#endif + +#include +#include +#include #include @@ -706,7 +707,7 @@ apm_cpu_idle(void) * APM driver. */ if (!sc->active || sc->always_halt_cpu) - __asm("hlt"); /* wait for interrupt */ + halt(); /* wait for interrupt */ } /* inform APM BIOS that CPU is busy */ @@ -1493,7 +1494,7 @@ static driver_t apm_driver = { static devclass_t apm_devclass; -DRIVER_MODULE(apm, nexus, apm_driver, apm_devclass, apm_modevent, 0); +DRIVER_MODULE(apm, legacy, apm_driver, apm_devclass, apm_modevent, 0); MODULE_VERSION(apm, 1); static int -- cgit v1.1