summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa/machdep.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-10-18 05:13:18 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-10-18 05:13:18 +0000
commit6dddf059694fba9ab0fb9900d8040dc9066369d3 (patch)
tree3b535d7d054a04d700638e34ad01b9d827a22b49 /sys/arch/i386/stand/libsa/machdep.c
parent471616d7beb9d52cf9822c2da7178f9b1e595954 (diff)
correct
Diffstat (limited to 'sys/arch/i386/stand/libsa/machdep.c')
-rw-r--r--sys/arch/i386/stand/libsa/machdep.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/i386/stand/libsa/machdep.c b/sys/arch/i386/stand/libsa/machdep.c
index 61dc35f4371..139f6063788 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.19 1997/10/17 18:46:58 weingart Exp $ */
+/* $OpenBSD: machdep.c,v 1.20 1997/10/18 05:13:17 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -41,13 +41,12 @@ struct BIOS_regs BIOS_regs;
struct BIOS_vars BIOS_vars;
int bootdev;
-#ifdef DEBUG
+#if defined(DEBUG) && !defined(_TEST)
#define CKPT(c) (*(u_int16_t*)0xb8148 = 0x4700 + (c))
#else
#define CKPT(c) /* c */
#endif
-
void
machdep()
{
@@ -59,9 +58,7 @@ machdep()
#ifndef _TEST
memprobe(); CKPT('4');
diskprobe(); CKPT('6');
-#endif
-
apmprobe(); CKPT('7');
-
+#endif
CKPT('9');
}