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 We want prom_claim_phys() to return...
details: https://anonhg.NetBSD.org/src/rev/a056a6e60496
branches: trunk
changeset: 493906:a056a6e60496
user: pk <pk%NetBSD.org@localhost>
date: Mon Jun 26 19:45:54 2000 +0000
description:
We want prom_claim_phys() to return the address passed into it.
diffstat:
sys/arch/sparc64/sparc64/pmap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7b6403d29fa4 -r a056a6e60496 sys/arch/sparc64/sparc64/pmap.c
--- a/sys/arch/sparc64/sparc64/pmap.c Mon Jun 26 19:41:20 2000 +0000
+++ b/sys/arch/sparc64/sparc64/pmap.c Mon Jun 26 19:45:54 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.60 2000/06/26 14:21:01 mrg Exp $ */
+/* $NetBSD: pmap.c,v 1.61 2000/06/26 19:45:54 pk Exp $ */
#undef NO_VCACHE /* Don't forget the locked TLB in dostart */
#define HWREF 1
#undef BOOT_DEBUG
@@ -564,7 +564,7 @@
/* Claim the rest of the physical page. */
newkp = kdatap + kdsize;
newkv = kdata + kdsize;
- if (kdatap != prom_claim_phys(newkp, szdiff)) {
+ if (newkp != prom_claim_phys(newkp, szdiff)) {
prom_printf("pmap_bootstrap: could not claim physical "
"dseg extention at %lx size %lx\r\n", newkp, szdiff);
goto remap_data;
Home |
Main Index |
Thread Index |
Old Index