Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/arch/macppc/macppc Pull up revision 1.114 (requeste...



details:   https://anonhg.NetBSD.org/src/rev/534b0b3c51e2
branches:  netbsd-1-6
changeset: 528010:534b0b3c51e2
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Jun 20 02:49:00 2002 +0000

description:
Pull up revision 1.114 (requested by wrstuden in ticket #322):
Fix recent bugs seen on Performa 4400 macppc's by
Makoto Fujiwara <makoto%ki.nu@localhost> and Manuel Bouyer <bouyer%netbsd.org@localhost>.
Help from Allen Briggs, Jason Thorpe, and Matt Thomas.
We need to call cpu_cache_probe() early in boot (machdep.c).
Add 603 info for completeness, and use NBPG not PAGESIZE, as the
latter relies on uvm being setup (cpu_subr.c).
Let uvm_page_recolor() be called before uvm has been set up; just
note the page coloring value (uvm_page.c).

diffstat:

 sys/arch/macppc/macppc/machdep.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r c8aa78c37a4d -r 534b0b3c51e2 sys/arch/macppc/macppc/machdep.c
--- a/sys/arch/macppc/macppc/machdep.c  Thu Jun 20 02:43:28 2002 +0000
+++ b/sys/arch/macppc/macppc/machdep.c  Thu Jun 20 02:49:00 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.113 2002/05/13 06:05:33 matt Exp $       */
+/*     $NetBSD: machdep.c,v 1.113.4.1 2002/06/20 02:49:00 lukem Exp $  */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -306,6 +306,7 @@
 #endif /* DDB || IPKDB || KGDB */
                }
 
+       cpu_probe_cache();
        /*
         * external interrupt handler install
         */



Home | Main Index | Thread Index | Old Index