diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 7449379560c..0e0c73355c3 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.98 1998/10/09 12:36:25 kato Exp $ + * $Id: machdep.c,v 1.99 1998/10/11 15:04:38 kato Exp $ */ #include "apm.h" @@ -109,9 +109,6 @@ #include #endif -#if NAPM > 0 -#include -#endif #include #include #include @@ -449,14 +446,7 @@ again: } #if defined(USERCONFIG) -#if defined(USERCONFIG_BOOT) - if (1) { -#else - if (boothowto & RB_CONFIG) { -#endif - userconfig(); - cninit(); /* the preferred console may have changed */ - } + userconfig(); #endif printf("avail memory = %d (%dK bytes)\n", ptoa(cnt.v_free_count), @@ -806,17 +796,6 @@ cpu_halt(void) __asm__ ("hlt"); } -/* - * Turn the power off. - */ -void -cpu_power_down(void) -{ -#if NAPM > 0 - apm_power_off(); -#endif -} - /* * Clear registers on exec */ diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 7449379560c..0e0c73355c3 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.98 1998/10/09 12:36:25 kato Exp $ + * $Id: machdep.c,v 1.99 1998/10/11 15:04:38 kato Exp $ */ #include "apm.h" @@ -109,9 +109,6 @@ #include #endif -#if NAPM > 0 -#include -#endif #include #include #include @@ -449,14 +446,7 @@ again: } #if defined(USERCONFIG) -#if defined(USERCONFIG_BOOT) - if (1) { -#else - if (boothowto & RB_CONFIG) { -#endif - userconfig(); - cninit(); /* the preferred console may have changed */ - } + userconfig(); #endif printf("avail memory = %d (%dK bytes)\n", ptoa(cnt.v_free_count), @@ -806,17 +796,6 @@ cpu_halt(void) __asm__ ("hlt"); } -/* - * Turn the power off. - */ -void -cpu_power_down(void) -{ -#if NAPM > 0 - apm_power_off(); -#endif -} - /* * Clear registers on exec */