summaryrefslogtreecommitdiff
path: root/sys/stand/boot
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-04 04:47:48 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-04 04:47:48 +0000
commitea0c1a875ff2a5356db9fe00060f2ddd2f1a964c (patch)
tree84a5b17b7ed1b6041dc4f1c06a755a02b0213f4e /sys/stand/boot
parent4bb1ee5415bfd5219eaf941d40b3eacc24630896 (diff)
dump regs w/ NMI (int 2)
more debugging is on the way
Diffstat (limited to 'sys/stand/boot')
-rw-r--r--sys/stand/boot/boot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/stand/boot/boot.c b/sys/stand/boot/boot.c
index 91d43db5f87..337c57498f2 100644
--- a/sys/stand/boot/boot.c
+++ b/sys/stand/boot/boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: boot.c,v 1.3 1997/03/31 23:06:20 mickey Exp $ */
+/* $OpenBSD: boot.c,v 1.4 1997/04/04 04:47:45 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -36,6 +36,7 @@
#include <sys/reboot.h>
#include <sys/stat.h>
#include <libsa.h>
+#include <debug.h>
#include "cmd.h"
char *kernels[] = { "bsd", "bsd.gz",
@@ -68,6 +69,7 @@ boot(bootdev)
*(u_int16_t*)0xb8148 = 0x4f31;
#endif
cons_probe();
+ debug_init();
printf("\n>> OpenBSD BOOT: %u/%u k [%s]\n", cnvmem, extmem, version);