Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/amiga Notify UVM subsystem about our page siz...



details:   https://anonhg.NetBSD.org/src/rev/6f25051327fe
branches:  trunk
changeset: 502189:6f25051327fe
user:      aymeric <aymeric%NetBSD.org@localhost>
date:      Sat Jan 13 11:31:04 2001 +0000

description:
Notify UVM subsystem about our page size in pmap_init().
Some MI code needs it (Linux emulation, sysctl and the like).
Thanks to Izumi Tsutsui for pointing it.

diffstat:

 sys/arch/amiga/amiga/pmap.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r dd5138dbcba0 -r 6f25051327fe sys/arch/amiga/amiga/pmap.c
--- a/sys/arch/amiga/amiga/pmap.c       Sat Jan 13 11:19:41 2001 +0000
+++ b/sys/arch/amiga/amiga/pmap.c       Sat Jan 13 11:31:04 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.79 2000/09/13 15:00:16 thorpej Exp $        */
+/*     $NetBSD: pmap.c,v 1.80 2001/01/13 11:31:04 aymeric Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -704,6 +704,9 @@
                DCIS();
        }
 #endif
+
+       uvmexp.pagesize = NBPG;
+       uvm_setpagesize();
 }
 
 struct pv_entry *



Home | Main Index | Thread Index | Old Index