summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand
diff options
context:
space:
mode:
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: ");