Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/integrator The third argument to pmap_map_ch...



details:   https://anonhg.NetBSD.org/src/rev/762f6db8618c
branches:  trunk
changeset: 551386:762f6db8618c
user:      rearnsha <rearnsha%NetBSD.org@localhost>
date:      Sat Sep 06 10:18:07 2003 +0000

description:
The third argument to pmap_map_chunk is the pa not the va.

diffstat:

 sys/arch/evbarm/integrator/integrator_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 57d11e29dc31 -r 762f6db8618c sys/arch/evbarm/integrator/integrator_machdep.c
--- a/sys/arch/evbarm/integrator/integrator_machdep.c   Sat Sep 06 10:08:13 2003 +0000
+++ b/sys/arch/evbarm/integrator/integrator_machdep.c   Sat Sep 06 10:18:07 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: integrator_machdep.c,v 1.43 2003/07/15 00:25:00 lukem Exp $    */
+/*     $NetBSD: integrator_machdep.c,v 1.44 2003/09/06 10:18:07 rearnsha Exp $ */
 
 /*
  * Copyright (c) 2001,2002 ARM Ltd
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: integrator_machdep.c,v 1.43 2003/07/15 00:25:00 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: integrator_machdep.c,v 1.44 2003/09/06 10:18:07 rearnsha Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pmap_debug.h"
@@ -653,7 +653,7 @@
 
        for (loop = 0; loop < NUM_KERNEL_PTS; ++loop) {
                pmap_map_chunk(l1pagetable, kernel_pt_table[loop].pv_va,
-                   kernel_pt_table[loop].pv_va, L2_TABLE_SIZE,
+                   kernel_pt_table[loop].pv_pa, L2_TABLE_SIZE,
                    VM_PROT_READ|VM_PROT_WRITE, PTE_PAGETABLE);
        }
 



Home | Main Index | Thread Index | Old Index