Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/usermode pmap_enter: fix pmap_do_enter par...
details: https://anonhg.NetBSD.org/src/rev/a874ab02a174
branches: trunk
changeset: 768615:a874ab02a174
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue Aug 23 00:52:33 2011 +0000
description:
pmap_enter: fix pmap_do_enter parameters
diffstat:
sys/arch/usermode/usermode/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5e8e7680455a -r a874ab02a174 sys/arch/usermode/usermode/pmap.c
--- a/sys/arch/usermode/usermode/pmap.c Mon Aug 22 22:14:46 2011 +0000
+++ b/sys/arch/usermode/usermode/pmap.c Tue Aug 23 00:52:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.12 2011/08/22 21:59:09 reinoud Exp $ */
+/* $NetBSD: pmap.c,v 1.13 2011/08/23 00:52:33 jmcneill Exp $ */
/*-
* Copyright (c) 2011 Reinoud Zandijk <reinoud%NetBSD.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.12 2011/08/22 21:59:09 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.13 2011/08/23 00:52:33 jmcneill Exp $");
#include "opt_uvmhist.h"
#include "opt_memsize.h"
@@ -519,7 +519,7 @@
pmap_enter(pmap_t pmap, vaddr_t va, paddr_t pa, vm_prot_t prot, u_int flags)
{
printf("pmap_enter %p : v %p, p %p, prot %d, flags %d\n", (void *) pmap, (void *) va, (void *) pa, (int) prot, (int) flags);
- return pmap_do_enter(pmap_kernel(), va, pa, prot, prot, 1);
+ return pmap_do_enter(pmap, va, pa, prot, flags, 0);
}
void
Home |
Main Index |
Thread Index |
Old Index