Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/iq80321 Bump kernel PTs to 4 (the max we can...



details:   https://anonhg.NetBSD.org/src/rev/b919fa1d3bc4
branches:  trunk
changeset: 546503:b919fa1d3bc4
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Apr 30 18:12:03 2003 +0000

description:
Bump kernel PTs to 4 (the max we can really have with the old VM
layout) to accomodate large ramdisks.  Set boothowto if BOOTHOWTO
is defined.

diffstat:

 sys/arch/evbarm/iq80321/iq80321_machdep.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 093fd4888a0c -r b919fa1d3bc4 sys/arch/evbarm/iq80321/iq80321_machdep.c
--- a/sys/arch/evbarm/iq80321/iq80321_machdep.c Wed Apr 30 18:05:47 2003 +0000
+++ b/sys/arch/evbarm/iq80321/iq80321_machdep.c Wed Apr 30 18:12:03 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iq80321_machdep.c,v 1.18 2003/04/28 01:56:44 briggs Exp $      */
+/*     $NetBSD: iq80321_machdep.c,v 1.19 2003/04/30 18:12:03 thorpej Exp $     */
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -173,7 +173,7 @@
 #define KERNEL_PT_SYS          0       /* L2 table for mapping zero page */
 
 #define KERNEL_PT_KERNEL       1       /* L2 table for mapping kernel */
-#define        KERNEL_PT_KERNEL_NUM    2
+#define        KERNEL_PT_KERNEL_NUM    4
 
                                        /* L2 table for mapping i80321 */
 #define        KERNEL_PT_IOPXS         (KERNEL_PT_KERNEL + KERNEL_PT_KERNEL_NUM)
@@ -855,6 +855,10 @@
        i80321_intr_init();
        printf("done.\n");
 
+#ifdef BOOTHOWTO
+       boothowto = BOOTHOWTO;
+#endif
+
 #ifdef IPKDB
        /* Initialise ipkdb */
        ipkdb_init();



Home | Main Index | Thread Index | Old Index