Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mac68k/mac68k Allow this to compile if NZSC is 0.



details:   https://anonhg.NetBSD.org/src/rev/efd7366336a9
branches:  trunk
changeset: 467679:efd7366336a9
user:      briggs <briggs%NetBSD.org@localhost>
date:      Sat Mar 27 05:19:34 1999 +0000

description:
Allow this to compile if NZSC is 0.

diffstat:

 sys/arch/mac68k/mac68k/pmap_bootstrap.c |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (48 lines):

diff -r 88a701c01831 -r efd7366336a9 sys/arch/mac68k/mac68k/pmap_bootstrap.c
--- a/sys/arch/mac68k/mac68k/pmap_bootstrap.c   Sat Mar 27 05:17:08 1999 +0000
+++ b/sys/arch/mac68k/mac68k/pmap_bootstrap.c   Sat Mar 27 05:19:34 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_bootstrap.c,v 1.48 1998/12/22 08:47:07 scottr Exp $       */
+/*     $NetBSD: pmap_bootstrap.c,v 1.49 1999/03/27 05:19:34 briggs Exp $       */
 
 /* 
  * Copyright (c) 1991, 1993
@@ -40,6 +40,7 @@
  */
 
 #include "opt_ddb.h"
+#include "zsc.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -73,7 +74,9 @@
 extern vm_size_t mem_size;
 extern int protection_codes[];
 
+#if NZSC > 0
 extern int     zsinited;
+#endif
 
 /*
  * These are used to map the RAM:
@@ -556,7 +559,9 @@
 bootstrap_mac68k(tc)
        int     tc;
 {
+#if NZSC > 0
        extern void zs_init __P((void));
+#endif
        extern int *esym;
        paddr_t nextpa;
        caddr_t oldROMBase;
@@ -615,8 +620,10 @@
         * of this function (where we start using the MMU, so the new
         * address is correct.
         */
+#if NZSC > 0
        if (zsinited != 0)
                zs_init();
+#endif
 
        videoaddr = newvideoaddr;
 }



Home | Main Index | Thread Index | Old Index