Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbsh3/evbsh3 fix pmap_* arguments when SH4_PCMCIA...
details: https://anonhg.NetBSD.org/src/rev/2b7ac382eca2
branches: trunk
changeset: 503048:2b7ac382eca2
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Jan 30 02:39:57 2001 +0000
description:
fix pmap_* arguments when SH4_PCMCIA is defined.
diffstat:
sys/arch/evbsh3/evbsh3/machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 98b60f9d9d79 -r 2b7ac382eca2 sys/arch/evbsh3/evbsh3/machdep.c
--- a/sys/arch/evbsh3/evbsh3/machdep.c Tue Jan 30 02:08:54 2001 +0000
+++ b/sys/arch/evbsh3/evbsh3/machdep.c Tue Jan 30 02:39:57 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.21 2001/01/16 23:57:21 itojun Exp $ */
+/* $NetBSD: machdep.c,v 1.22 2001/01/30 02:39:57 msaitoh Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -949,7 +949,7 @@
for (; pa < endpa; pa += NBPG, va += NBPG) {
pmap_enter(pmap_kernel(), va, pa,
- VM_PROT_READ | VM_PROT_WRITE, TRUE, 0);
+ VM_PROT_READ | VM_PROT_WRITE, PMAP_WIRED);
pte = kvtopte(va);
*pte &= ~PG_N;
@@ -987,7 +987,7 @@
panic("sh3_pcmcia_memio_unmap: overflow");
#endif
- bpa = pmap_extract(pmap_kernel(), va) + (bsh & PGOFSET);
+ pmap_extract(pmap_kernel(), va, &bpa);
/*
* Free the kernel virtual mapping.
Home |
Main Index |
Thread Index |
Old Index