Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbsh5/evbsh5 pmap_bootstrap() needs to know the ph...



details:   https://anonhg.NetBSD.org/src/rev/7bb65e77891e
branches:  trunk
changeset: 537661:7bb65e77891e
user:      scw <scw%NetBSD.org@localhost>
date:      Fri Oct 04 09:23:27 2002 +0000

description:
pmap_bootstrap() needs to know the physical address of KSEG0.

diffstat:

 sys/arch/evbsh5/evbsh5/locore.S |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 1eae500ebb94 -r 7bb65e77891e sys/arch/evbsh5/evbsh5/locore.S
--- a/sys/arch/evbsh5/evbsh5/locore.S   Fri Oct 04 09:20:20 2002 +0000
+++ b/sys/arch/evbsh5/evbsh5/locore.S   Fri Oct 04 09:23:27 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.5 2002/09/10 11:53:14 scw Exp $   */
+/*     $NetBSD: locore.S,v 1.6 2002/10/04 09:23:27 scw Exp $   */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -137,9 +137,11 @@
        /*
         * Bootstrap the pmap:
         *
-        * void pmap_bootstrap(vaddr_t avail, struct mem_region *mr);
+        * void pmap_bootstrap(vaddr_t avail, paddr_t kseg0base,
+        *                     struct mem_region *mr);
         */
-       LEA(Lmem_regions, r3)
+       LDSC32(0x80000000, r3)
+       LEA(Lmem_regions, r4)
        LEAF(_C_LABEL(pmap_bootstrap), r0)
        ptabs/l r0, tr0
        blink   tr0, r18



Home | Main Index | Thread Index | Old Index