summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-05 12:58:21 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-05 12:58:21 +0000
commite2ca0461709d71cb1317c2b1af276441f8fab1a3 (patch)
treee7bbb93436cede28630a41f8081051681d53f193 /sys/arch/i386/stand
parent9ade8c675bc4ddf9cb8c650c409fd12246cc0fbd (diff)
more debugs
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r--sys/arch/i386/stand/libsa/machdep.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/machdep.c b/sys/arch/i386/stand/libsa/machdep.c
index 164a71b5f10..b48e5bd4517 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.5 1997/07/31 20:16:45 mickey Exp $ */
+/* $OpenBSD: machdep.c,v 1.6 1997/08/05 12:58:20 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -47,13 +47,22 @@ machdep()
*(u_int16_t*)0xb8148 = 0x4730;
#endif
gateA20(1);
+#ifdef DEBUG
+ *(u_int16_t*)0xb8148 = 0x4731;
+#endif
debug_init();
+#ifdef DEBUG
+ *(u_int16_t*)0xb8148 = 0x4732;
+#endif
cons_probe(); /* call console init before any io */
+#ifdef DEBUG
+ *(u_int16_t*)0xb8148 = 0x4733;
+#endif
#ifndef _TEST
memprobe();
#endif
#ifdef DEBUG
- *(u_int16_t*)0xb8148 = 0x4f31;
+ *(u_int16_t*)0xb8148 = 0x4f34;
#endif
#ifdef BOOT_APM
printf("apm_init: ");