--- src/sys/i386/i386/Attic/vm_machdep.c 2005/02/21 21:40:53 1.33 +++ src/sys/i386/i386/Attic/vm_machdep.c 2005/02/27 10:57:24 1.34 @@ -44,9 +44,6 @@ #include "use_npx.h" #include "use_isa.h" -#ifdef PC98 -#include "opt_pc98.h" -#endif #include "opt_reset.h" #include @@ -84,11 +81,7 @@ #include #include -#ifdef PC98 -#include -#else #include -#endif static void cpu_reset_real (void); #ifdef SMP @@ -457,18 +450,6 @@ cpu_reset() static void cpu_reset_real() { - -#ifdef PC98 - /* - * Attempt to do a CPU reset via CPU reset port. - */ - cpu_disable_intr(); - if ((inb(0x35) & 0xa0) != 0xa0) { - outb(0x37, 0x0f); /* SHUT0 = 0. */ - outb(0x37, 0x0b); /* SHUT1 = 0. */ - } - outb(0xf0, 0x00); /* Reset. */ -#else /* * Attempt to do a CPU reset via the keyboard controller, * do not turn of the GateA20, as any machine that fails @@ -481,7 +462,6 @@ cpu_reset_real() printf("Keyboard reset did not work, attempting CPU shutdown\n"); DELAY(1000000); /* wait 1 sec for printf to complete */ #endif -#endif /* PC98 */ /* force a shutdown by unmapping entire address space ! */ bzero((caddr_t) PTD, PAGE_SIZE);