Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun3 PAGE_SIZE on sun3/sun3x is now constant;



details:   https://anonhg.NetBSD.org/src/rev/575d6daa2d86
branches:  trunk
changeset: 499601:575d6daa2d86
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Nov 24 11:57:45 2000 +0000

description:
PAGE_SIZE on sun3/sun3x is now constant;
Use uvmexp.pagesize itself for its initialization.

diffstat:

 sys/arch/sun3/sun3/pmap.c  |  4 ++--
 sys/arch/sun3/sun3x/pmap.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r a0f5f3488410 -r 575d6daa2d86 sys/arch/sun3/sun3/pmap.c
--- a/sys/arch/sun3/sun3/pmap.c Fri Nov 24 10:29:21 2000 +0000
+++ b/sys/arch/sun3/sun3/pmap.c Fri Nov 24 11:57:45 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.120 2000/10/27 13:28:54 tsutsui Exp $       */
+/*     $NetBSD: pmap.c,v 1.121 2000/11/24 11:57:45 tsutsui Exp $       */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -1833,7 +1833,7 @@
        /* Initialization for pmap_next_page() */
        avail_next = avail_start;
 
-       PAGE_SIZE = NBPG;
+       uvmexp.pagesize = NBPG;
        uvm_setpagesize();
 
        /* after setting up some structures */
diff -r a0f5f3488410 -r 575d6daa2d86 sys/arch/sun3/sun3x/pmap.c
--- a/sys/arch/sun3/sun3x/pmap.c        Fri Nov 24 10:29:21 2000 +0000
+++ b/sys/arch/sun3/sun3x/pmap.c        Fri Nov 24 11:57:45 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.56 2000/10/27 13:28:55 tsutsui Exp $        */
+/*     $NetBSD: pmap.c,v 1.57 2000/11/24 11:57:46 tsutsui Exp $        */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -892,7 +892,7 @@
        pmap_bootstrap_setprom();
 
        /* Notify the VM system of our page size. */
-       PAGE_SIZE = NBPG;
+       uvmexp.pagesize = NBPG;
        uvm_setpagesize();
 
        pmap_page_upload();



Home | Main Index | Thread Index | Old Index