summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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');
}