Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 fix a couple of errors in the previ...



details:   https://anonhg.NetBSD.org/src/rev/6a8d87413781
branches:  trunk
changeset: 487942:6a8d87413781
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jun 15 15:51:07 2000 +0000

description:
fix a couple of errors in the previous. from eeh.

diffstat:

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

diffs (32 lines):

diff -r 25f432e5b5a4 -r 6a8d87413781 sys/arch/sparc64/sparc64/pmap.c
--- a/sys/arch/sparc64/sparc64/pmap.c   Thu Jun 15 15:37:05 2000 +0000
+++ b/sys/arch/sparc64/sparc64/pmap.c   Thu Jun 15 15:51:07 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.54 2000/06/12 23:32:48 eeh Exp $    */
+/*     $NetBSD: pmap.c,v 1.55 2000/06/15 15:51:07 mrg Exp $    */
 #undef NO_VCACHE /* Don't forget the locked TLB in dostart */
 #define HWREF 1 
 #undef BOOT_DEBUG
@@ -1043,11 +1043,11 @@
                        paddr_t newp;
 
                        pmap_get_page(&pa);
-                       prom_map_phys(phys_msgbuf, NBPG, va, -1);
+                       prom_map_phys(pa, NBPG, va, -1);
 #ifdef NO_VCACHE
                        tte.data.data = TSB_DATA(0 /* global */,
                                TLB_8K,
-                               phys_msgbuf,
+                               pa,
                                1 /* priv */,
                                1 /* Write */,
                                1 /* Cacheable */,
@@ -1057,7 +1057,7 @@
 #else
                        tte.data.data = TSB_DATA(0 /* global */,
                                TLB_8K,
-                               phys_msgbuf,
+                               pa,
                                1 /* priv */,
                                1 /* Write */,
                                1 /* Cacheable */,



Home | Main Index | Thread Index | Old Index