diff options
-rw-r--r-- | sys/amd64/amd64/machdep.c | 7 | ||||
-rw-r--r-- | sys/i386/i386/machdep.c | 7 |
2 files changed, 12 insertions, 2 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 diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 0ae5275..5e55e47 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/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 |