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 Define the L1* pte values. Now pmap.h an...



details:   https://anonhg.NetBSD.org/src/rev/12bf413489e1
branches:  trunk
changeset: 761526:12bf413489e1
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jan 31 06:26:54 2011 +0000

description:
Define the L1* pte values.  Now pmap.h and pte.h no longer needed in .S files.

diffstat:

 sys/arch/arm/arm32/genassym.cf |  20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r 0f2182580ff5 -r 12bf413489e1 sys/arch/arm/arm32/genassym.cf
--- a/sys/arch/arm/arm32/genassym.cf    Mon Jan 31 06:10:25 2011 +0000
+++ b/sys/arch/arm/arm32/genassym.cf    Mon Jan 31 06:26:54 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.44 2011/01/14 02:06:23 rmind Exp $
+#      $NetBSD: genassym.cf,v 1.45 2011/01/31 06:26:54 matt Exp $
 
 # Copyright (c) 1982, 1990 The Regents of the University of California.
 # All rights reserved.
@@ -47,6 +47,7 @@
 
 include <arm/fiq.h>
 
+include <arm/arm32/pte.h>
 include <machine/pmap.h>
 include <machine/frame.h>
 include <machine/vmparam.h>
@@ -73,6 +74,23 @@
 define VM_MAXUSER_ADDRESS      VM_MAXUSER_ADDRESS
 
 define PMAP_DOMAIN_KERNEL      PMAP_DOMAIN_KERNEL
+define DOMAIN_CLIENT           DOMAIN_CLIENT
+define L1_S_PROTO_generic      L1_S_PROTO_generic
+define L1_S_PROTO_armv7        L1_S_PROTO_armv7
+define L1_S_PROTO_xscale       L1_S_PROTO_xscale
+if ARM_NMMUS == 1
+define L1_S_PROTO              L1_S_PROTO
+endif
+define L1_S_FRAME              L1_S_FRAME
+define L1_S_SHIFT              L1_S_SHIFT
+define L1_S_SIZE               L1_S_SIZE
+define L1_S_B                  L1_S_B
+define L1_S_C                  L1_S_C
+define L1_S_AP_KRW             L1_S_AP(AP_KRW)
+define L1_S_APv7_KRW           L1_S_AP(AP7_KRW)
+define L1_TABLE_SIZE           L1_TABLE_SIZE
+define L1_TYPE_S               L1_TYPE_S
+define L1_S_DOM_KERNEL         L1_S_DOM(PMAP_DOMAIN_KERNEL)
 
 ifdef PMAP_INCLUDE_PTE_SYNC
 define PMAP_INCLUDE_PTE_SYNC   1



Home | Main Index | Thread Index | Old Index