Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 When creating section maps, use pte_cache...



details:   https://anonhg.NetBSD.org/src/rev/996fd3768b43
branches:  trunk
changeset: 516695:996fd3768b43
user:      rearnsha <rearnsha%NetBSD.org@localhost>
date:      Sat Oct 27 16:51:44 2001 +0000

description:
When creating section maps, use pte_cache_mode for setting the
page attributes of cacheable pages.

diffstat:

 sys/arch/arm/arm32/arm32_machdep.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ab3a767916a5 -r 996fd3768b43 sys/arch/arm/arm32/arm32_machdep.c
--- a/sys/arch/arm/arm32/arm32_machdep.c        Sat Oct 27 16:48:50 2001 +0000
+++ b/sys/arch/arm/arm32/arm32_machdep.c        Sat Oct 27 16:51:44 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arm32_machdep.c,v 1.5 2001/09/10 21:19:35 chris Exp $  */
+/*     $NetBSD: arm32_machdep.c,v 1.6 2001/10/27 16:51:44 rearnsha Exp $       */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -176,7 +176,7 @@
 
        if (cacheable)
                ((u_int *)pagetable)[(va >> PDSHIFT)] =
-                   L1_SEC((pa & PD_MASK), PT_C);
+                   L1_SEC((pa & PD_MASK), pte_cache_mode);
        else
                ((u_int *)pagetable)[(va >> PDSHIFT)] =
                    L1_SEC((pa & PD_MASK), 0);



Home | Main Index | Thread Index | Old Index