Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp300/hp300 Use pmap_kenter_pa() for msgbuf



details:   https://anonhg.NetBSD.org/src/rev/20f6ad75023e
branches:  trunk
changeset: 521606:20f6ad75023e
user:      gmcgarry <gmcgarry%NetBSD.org@localhost>
date:      Sat Feb 02 04:17:37 2002 +0000

description:
Use pmap_kenter_pa() for msgbuf

diffstat:

 sys/arch/hp300/hp300/machdep.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r fdcfdeb37d48 -r 20f6ad75023e sys/arch/hp300/hp300/machdep.c
--- a/sys/arch/hp300/hp300/machdep.c    Sat Feb 02 03:04:22 2002 +0000
+++ b/sys/arch/hp300/hp300/machdep.c    Sat Feb 02 04:17:37 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.152 2001/12/14 08:29:24 gmcgarry Exp $   */
+/*     $NetBSD: machdep.c,v 1.153 2002/02/02 04:17:37 gmcgarry Exp $   */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -207,9 +207,8 @@
         * avail_end was pre-decremented in pmap_bootstrap to compensate.
         */
        for (i = 0; i < btoc(MSGBUFSIZE); i++)
-               pmap_enter(pmap_kernel(), (vaddr_t)msgbufaddr + i * NBPG,
-                   avail_end + i * NBPG, VM_PROT_READ|VM_PROT_WRITE,
-                   VM_PROT_READ|VM_PROT_WRITE|PMAP_WIRED);
+               pmap_kenter_pa((vaddr_t)msgbufaddr + i * NBPG,
+                   avail_end + i * NBPG, VM_PROT_READ|VM_PROT_WRITE);
        pmap_update(pmap_kernel());
        initmsgbuf(msgbufaddr, m68k_round_page(MSGBUFSIZE));
 



Home | Main Index | Thread Index | Old Index