summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-31 20:16:46 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-31 20:16:46 +0000
commit44a51653795105e0c92acdb97e109ad9c2cc2ac1 (patch)
treec55cf88610e5daaa6876864a44a3f4172a6f764c /sys/arch/i386
parent5d5a178048db414afbe6d69877249bb056a697be (diff)
say smth about apm w/o debug
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/stand/libsa/machdep.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/i386/stand/libsa/machdep.c b/sys/arch/i386/stand/libsa/machdep.c
index 863bc6e2459..164a71b5f10 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.4 1997/07/28 23:04:59 mickey Exp $ */
+/* $OpenBSD: machdep.c,v 1.5 1997/07/31 20:16:45 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -33,6 +33,7 @@
*/
#include "libsa.h"
+#include <machine/tss.h>
#include <machine/biosvar.h>
#include <machine/apmvar.h>
#include "debug.h"
@@ -95,6 +96,8 @@ machdep()
apminfo.apm_data_seg_base,
apminfo.apm_data_seg_len,
apminfo.apm_entrypt);
+#else
+ printf("APM detected");
#endif
}
putchar('\n');