summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-21 20:36:17 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-21 20:36:17 +0000
commite7b2359610f24d58467a3d0265ef61add214786d (patch)
treea9f017ffe23b0c4fc9116a87d3caf8972d153840
parentee77e8c801b78a38601df55bd719e3bf92c135f9 (diff)
BIOS_regs in machdep.c, so they won't get lost w/o biosdev.c
-rw-r--r--sys/arch/i386/stand/libsa/biosdev.c4
-rw-r--r--sys/arch/i386/stand/libsa/machdep.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/i386/stand/libsa/biosdev.c b/sys/arch/i386/stand/libsa/biosdev.c
index ac3b60f6b25..143f2293bd8 100644
--- a/sys/arch/i386/stand/libsa/biosdev.c
+++ b/sys/arch/i386/stand/libsa/biosdev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: biosdev.c,v 1.24 1997/08/12 19:30:13 mickey Exp $ */
+/* $OpenBSD: biosdev.c,v 1.25 1997/08/21 20:36:15 mickey Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff
@@ -43,8 +43,6 @@
extern int debug;
-struct BIOS_regs BIOS_regs;
-
struct biosdisk {
u_int dinfo;
dev_t bsddev;
diff --git a/sys/arch/i386/stand/libsa/machdep.c b/sys/arch/i386/stand/libsa/machdep.c
index c7f70caea3a..393901148fb 100644
--- a/sys/arch/i386/stand/libsa/machdep.c
+++ b/sys/arch/i386/stand/libsa/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.10 1997/08/13 04:32:43 mickey Exp $ */
+/* $OpenBSD: machdep.c,v 1.11 1997/08/21 20:36:16 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -63,6 +63,7 @@
#include "debug.h"
struct apm_connect_info apminfo;
+struct BIOS_regs BIOS_regs;
#ifdef DEBUG
#define CKPT(c) (*(u_int16_t*)0xb8148 = 0x4700 + (c))