Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/include/arm32 Use the "Extended Small Page" L2 ...



details:   https://anonhg.NetBSD.org/src/rev/96445a6269dd
branches:  trunk
changeset: 525316:96445a6269dd
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Apr 09 21:23:16 2002 +0000

description:
Use the "Extended Small Page" L2 descriptor type on XScale (note
this means that there are no 1K sub-pages on XScale, but we don't
use them anyway).

diffstat:

 sys/arch/arm/include/arm32/pmap.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 3d2d7dfe9478 -r 96445a6269dd sys/arch/arm/include/arm32/pmap.h
--- a/sys/arch/arm/include/arm32/pmap.h Tue Apr 09 21:17:53 2002 +0000
+++ b/sys/arch/arm/include/arm32/pmap.h Tue Apr 09 21:23:16 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.47 2002/04/09 21:11:31 thorpej Exp $        */
+/*     $NetBSD: pmap.h,v 1.48 2002/04/09 21:23:16 thorpej Exp $        */
 
 /*
  * Copyright (c 2002 Wasabi Systems, Inc.
@@ -333,8 +333,8 @@
 #define        L2_S_PROT_W_generic     (L2_AP(AP_W))
 #define        L2_S_PROT_MASK_generic  (L2_S_PROT_U|L2_S_PROT_W)
 
-#define        L2_S_PROT_U_xscale      (L2_AP(AP_U))
-#define        L2_S_PROT_W_xscale      (L2_AP(AP_W))
+#define        L2_S_PROT_U_xscale      (L2_AP0(AP_U))
+#define        L2_S_PROT_W_xscale      (L2_AP0(AP_W))
 #define        L2_S_PROT_MASK_xscale   (L2_S_PROT_U|L2_S_PROT_W)
 
 #define        L2_CACHE_MASK_generic   (L2_B|L2_C)
@@ -350,7 +350,7 @@
 #define        L2_L_PROTO              (L2_TYPE_L)
 
 #define        L2_S_PROTO_generic      (L2_TYPE_S)
-#define        L2_S_PROTO_xscale       (L2_TYPE_S)
+#define        L2_S_PROTO_xscale       (L2_TYPE_XSCALE_XS)
 
 /*
  * User-visible names for the ones that vary with MMU class.



Home | Main Index | Thread Index | Old Index