summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-10-17 12:36:43 +0000
committerache <ache@FreeBSD.org>1994-10-17 12:36:43 +0000
commit63843cb1d145184636a156a79a36578e5d9a6df7 (patch)
tree985ccf9e06791419d91b3b46ec2f34a56f1f47fb /sys/amd64
parentccce4955a0ff29bbb4260994a7aac499d92ac39f (diff)
downloadFreeBSD-src-63843cb1d145184636a156a79a36578e5d9a6df7.zip
FreeBSD-src-63843cb1d145184636a156a79a36578e5d9a6df7.tar.gz
Ifdef color_display by NSC, pointed by Rod
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/machdep.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 0ae5275..5e55e47 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -35,11 +35,12 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.73 1994/10/10 18:06:58 phk Exp $
+ * $Id: machdep.c,v 1.74 1994/10/15 21:25:03 ache Exp $
*/
#include "npx.h"
#include "isa.h"
+#include "sc.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -135,7 +136,11 @@ int msgbufmapped = 0; /* set when safe to use msgbuf */
int _udatasel, _ucodesel;
extern int adjkerntz, disable_rtc_set; /* from clock.c */
+#if NSC > 0
extern int color_display; /* from syscons.c */
+#else
+int color_display = -1;
+#endif
/*
* Machine-dependent startup code
OpenPOWER on IntegriCloud