Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/atari Announce page-size to the VM-system. Th...



details:   https://anonhg.NetBSD.org/src/rev/b1f36f6572a8
branches:  trunk
changeset: 503152:b1f36f6572a8
user:      leo <leo%NetBSD.org@localhost>
date:      Thu Feb 01 21:22:55 2001 +0000

description:
Announce page-size to the VM-system. Thanks to Izumi Tsutsui for pointing
this out.

diffstat:

 sys/arch/atari/atari/pmap.c |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r e9973165f5f8 -r b1f36f6572a8 sys/arch/atari/atari/pmap.c
--- a/sys/arch/atari/atari/pmap.c       Thu Feb 01 20:27:06 2001 +0000
+++ b/sys/arch/atari/atari/pmap.c       Thu Feb 01 21:22:55 2001 +0000
@@ -371,6 +371,12 @@
        atarihwpg   = hw_pages;
 
        /*
+        * Announce page-size to the VM-system
+        */
+       uvmexp.pagesize = NBPG;
+       uvm_setpagesize();
+
+       /*
         * Setup physical address ranges
         */
        for (i = 0; usable_segs[i+1].start; i++)



Home | Main Index | Thread Index | Old Index