typo in previous.
This commit is contained in:
parent
316cd176c8
commit
dd3f84513a
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vm_machdep.c,v 1.17 2001/08/19 17:42:03 chs Exp $ */
|
||||
/* $NetBSD: vm_machdep.c,v 1.18 2001/08/19 17:45:15 chs Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
|
||||
|
@ -309,7 +309,7 @@ vmapbuf(bp, len)
|
|||
while (len) {
|
||||
pmap_extract(vm_map_pmap(&bp->b_proc->p_vmspace->vm_map),
|
||||
faddr, &fpa);
|
||||
pmap_kenter(taddr, fpa, VM_PROT_READ | VM_PROT_WRITE);
|
||||
pmap_kenter_pa(taddr, fpa, VM_PROT_READ | VM_PROT_WRITE);
|
||||
faddr += PAGE_SIZE;
|
||||
taddr += PAGE_SIZE;
|
||||
len -= PAGE_SIZE;
|
||||
|
|
Loading…
Reference in New Issue