summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/machdep.c16
-rw-r--r--sys/amd64/include/md_var.h3
2 files changed, 2 insertions, 17 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 06db070..fd58e5a 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.312 1998/10/09 00:31:06 msmith Exp $
+ * $Id: machdep.c,v 1.313 1998/10/09 23:36:26 peter Exp $
*/
#include "apm.h"
@@ -109,9 +109,6 @@
#include <net/netisr.h>
#endif
-#if NAPM > 0
-#include <machine/apm_bios.h>
-#endif
#include <machine/cpu.h>
#include <machine/reg.h>
#include <machine/clock.h>
@@ -794,17 +791,6 @@ cpu_halt(void)
}
/*
- * Turn the power off.
- */
-void
-cpu_power_down(void)
-{
-#if NAPM > 0
- apm_power_off();
-#endif
-}
-
-/*
* Clear registers on exec
*/
void
diff --git a/sys/amd64/include/md_var.h b/sys/amd64/include/md_var.h
index a565266..82a4334 100644
--- a/sys/amd64/include/md_var.h
+++ b/sys/amd64/include/md_var.h
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: md_var.h,v 1.25 1998/09/14 22:43:40 jdp Exp $
+ * $Id: md_var.h,v 1.26 1998/09/25 17:34:49 peter Exp $
*/
#ifndef _MACHINE_MD_VAR_H_
@@ -62,7 +62,6 @@ struct fpreg;
void bcopyb __P((const void *from, void *to, size_t len));
void busdma_swi __P((void));
void cpu_halt __P((void));
-void cpu_power_down __P((void));
void cpu_reset __P((void));
void cpu_switch_load_fs __P((void)) __asm(__STRING(cpu_switch_load_fs));
void cpu_switch_load_gs __P((void)) __asm(__STRING(cpu_switch_load_gs));
OpenPOWER on IntegriCloud