Home | History | Annotate | Line # | Download | only in arm32
pte.h revision 1.20.4.1
      1  1.20.4.1        ad /*	$NetBSD: pte.h,v 1.20.4.1 2020/01/25 22:38:38 ad Exp $	*/
      2       1.1   thorpej 
      3       1.1   thorpej /*
      4       1.5   thorpej  * Copyright (c) 2001, 2002 Wasabi Systems, Inc.
      5       1.1   thorpej  * All rights reserved.
      6       1.1   thorpej  *
      7       1.5   thorpej  * Written by Jason R. Thorpe for Wasabi Systems, Inc.
      8       1.5   thorpej  *
      9       1.1   thorpej  * Redistribution and use in source and binary forms, with or without
     10       1.1   thorpej  * modification, are permitted provided that the following conditions
     11       1.1   thorpej  * are met:
     12       1.1   thorpej  * 1. Redistributions of source code must retain the above copyright
     13       1.1   thorpej  *    notice, this list of conditions and the following disclaimer.
     14       1.1   thorpej  * 2. Redistributions in binary form must reproduce the above copyright
     15       1.1   thorpej  *    notice, this list of conditions and the following disclaimer in the
     16       1.1   thorpej  *    documentation and/or other materials provided with the distribution.
     17       1.1   thorpej  * 3. All advertising materials mentioning features or use of this software
     18       1.1   thorpej  *    must display the following acknowledgement:
     19       1.5   thorpej  *	This product includes software developed for the NetBSD Project by
     20       1.5   thorpej  *	Wasabi Systems, Inc.
     21       1.5   thorpej  * 4. The name of Wasabi Systems, Inc. may not be used to endorse
     22       1.5   thorpej  *    or promote products derived from this software without specific prior
     23       1.5   thorpej  *    written permission.
     24       1.5   thorpej  *
     25       1.5   thorpej  * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
     26       1.5   thorpej  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
     27       1.5   thorpej  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     28       1.5   thorpej  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL WASABI SYSTEMS, INC
     29       1.5   thorpej  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     30       1.5   thorpej  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     31       1.5   thorpej  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     32       1.5   thorpej  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     33       1.5   thorpej  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     34       1.5   thorpej  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     35       1.5   thorpej  * POSSIBILITY OF SUCH DAMAGE.
     36       1.1   thorpej  */
     37       1.1   thorpej 
     38       1.5   thorpej #ifndef _ARM_PTE_H_
     39       1.5   thorpej #define	_ARM_PTE_H_
     40       1.1   thorpej 
     41       1.5   thorpej /*
     42       1.5   thorpej  * The ARM MMU architecture was introduced with ARM v3 (previous ARM
     43       1.5   thorpej  * architecture versions used an optional off-CPU memory controller
     44       1.5   thorpej  * to perform address translation).
     45       1.5   thorpej  *
     46       1.5   thorpej  * The ARM MMU consists of a TLB and translation table walking logic.
     47       1.5   thorpej  * There is typically one TLB per memory interface (or, put another
     48       1.5   thorpej  * way, one TLB per software-visible cache).
     49       1.5   thorpej  *
     50       1.5   thorpej  * The ARM MMU is capable of mapping memory in the following chunks:
     51       1.5   thorpej  *
     52       1.8      matt  *	16M	SuperSections (L1 table, ARMv6+)
     53       1.8      matt  *
     54       1.5   thorpej  *	1M	Sections (L1 table)
     55       1.5   thorpej  *
     56       1.5   thorpej  *	64K	Large Pages (L2 table)
     57       1.5   thorpej  *
     58       1.5   thorpej  *	4K	Small Pages (L2 table)
     59       1.5   thorpej  *
     60       1.5   thorpej  *	1K	Tiny Pages (L2 table)
     61       1.5   thorpej  *
     62       1.8      matt  * There are two types of L2 tables: Coarse Tables and Fine Tables (not
     63       1.8      matt  * available on ARMv6+).  Coarse Tables can map Large and Small Pages.
     64       1.8      matt  * Fine Tables can map Tiny Pages.
     65       1.5   thorpej  *
     66       1.5   thorpej  * Coarse Tables can define 4 Subpages within Large and Small pages.
     67       1.5   thorpej  * Subpages define different permissions for each Subpage within
     68       1.8      matt  * a Page.  ARMv6 format Coarse Tables have no subpages.
     69       1.5   thorpej  *
     70       1.5   thorpej  * Coarse Tables are 1K in length.  Fine tables are 4K in length.
     71       1.5   thorpej  *
     72       1.5   thorpej  * The Translation Table Base register holds the pointer to the
     73       1.5   thorpej  * L1 Table.  The L1 Table is a 16K contiguous chunk of memory
     74       1.5   thorpej  * aligned to a 16K boundary.  Each entry in the L1 Table maps
     75       1.5   thorpej  * 1M of virtual address space, either via a Section mapping or
     76       1.5   thorpej  * via an L2 Table.
     77       1.5   thorpej  *
     78       1.8      matt  * ARMv6+ has a second TTBR register which can be used if any of the
     79       1.8      matt  * upper address bits are non-zero (think kernel).  For NetBSD, this
     80       1.8      matt  * would be 1 upper bit splitting user/kernel in a 2GB/2GB split.
     81       1.8      matt  * This would also reduce the size of the L1 Table to 8K.
     82       1.8      matt  *
     83       1.5   thorpej  * In addition, the Fast Context Switching Extension (FCSE) is available
     84       1.5   thorpej  * on some ARM v4 and ARM v5 processors.  FCSE is a way of eliminating
     85       1.5   thorpej  * TLB/cache flushes on context switch by use of a smaller address space
     86       1.5   thorpej  * and a "process ID" that modifies the virtual address before being
     87       1.5   thorpej  * presented to the translation logic.
     88       1.5   thorpej  */
     89       1.1   thorpej 
     90       1.1   thorpej #ifndef _LOCORE
     91       1.5   thorpej typedef uint32_t	pd_entry_t;	/* L1 table entry */
     92       1.5   thorpej typedef uint32_t	pt_entry_t;	/* L2 table entry */
     93       1.5   thorpej #endif /* _LOCORE */
     94       1.5   thorpej 
     95       1.8      matt #define	L1_SS_SIZE	0x01000000	/* 16M */
     96       1.8      matt #define	L1_SS_OFFSET	(L1_SS_SIZE - 1)
     97       1.8      matt #define	L1_SS_FRAME	(~L1_SS_OFFSET)
     98       1.8      matt #define	L1_SS_SHIFT	24
     99       1.8      matt 
    100       1.5   thorpej #define	L1_S_SIZE	0x00100000	/* 1M */
    101       1.5   thorpej #define	L1_S_OFFSET	(L1_S_SIZE - 1)
    102       1.5   thorpej #define	L1_S_FRAME	(~L1_S_OFFSET)
    103       1.5   thorpej #define	L1_S_SHIFT	20
    104       1.5   thorpej 
    105       1.5   thorpej #define	L2_L_SIZE	0x00010000	/* 64K */
    106       1.5   thorpej #define	L2_L_OFFSET	(L2_L_SIZE - 1)
    107       1.5   thorpej #define	L2_L_FRAME	(~L2_L_OFFSET)
    108       1.5   thorpej #define	L2_L_SHIFT	16
    109       1.5   thorpej 
    110      1.11      matt #define	L2_S_SEGSIZE	(PAGE_SIZE * L2_S_SIZE / 4)
    111       1.5   thorpej #define	L2_S_SIZE	0x00001000	/* 4K */
    112       1.5   thorpej #define	L2_S_OFFSET	(L2_S_SIZE - 1)
    113       1.5   thorpej #define	L2_S_FRAME	(~L2_S_OFFSET)
    114       1.5   thorpej #define	L2_S_SHIFT	12
    115       1.5   thorpej 
    116       1.5   thorpej #define	L2_T_SIZE	0x00000400	/* 1K */
    117       1.5   thorpej #define	L2_T_OFFSET	(L2_T_SIZE - 1)
    118       1.5   thorpej #define	L2_T_FRAME	(~L2_T_OFFSET)
    119       1.5   thorpej #define	L2_T_SHIFT	10
    120       1.5   thorpej 
    121       1.5   thorpej /*
    122       1.5   thorpej  * The NetBSD VM implementation only works on whole pages (4K),
    123       1.5   thorpej  * whereas the ARM MMU's Coarse tables are sized in terms of 1K
    124       1.5   thorpej  * (16K L1 table, 1K L2 table).
    125       1.5   thorpej  *
    126       1.5   thorpej  * So, we allocate L2 tables 4 at a time, thus yielding a 4K L2
    127       1.5   thorpej  * table.
    128       1.5   thorpej  */
    129       1.5   thorpej #define	L1_ADDR_BITS	0xfff00000	/* L1 PTE address bits */
    130       1.5   thorpej #define	L2_ADDR_BITS	0x000ff000	/* L2 PTE address bits */
    131       1.5   thorpej 
    132       1.5   thorpej #define	L1_TABLE_SIZE	0x4000		/* 16K */
    133       1.5   thorpej #define	L2_TABLE_SIZE	0x1000		/* 4K */
    134      1.20     skrll 
    135       1.6       scw /*
    136       1.6       scw  * The new pmap deals with the 1KB coarse L2 tables by
    137       1.6       scw  * allocating them from a pool. Until every port has been converted,
    138       1.6       scw  * keep the old L2_TABLE_SIZE define lying around. Converted ports
    139       1.6       scw  * should use L2_TABLE_SIZE_REAL until then.
    140       1.6       scw  */
    141      1.14      matt #define	L1_TABLE_SIZE_REAL	0x4000	/* 16K */
    142       1.6       scw #define	L2_TABLE_SIZE_REAL	0x400	/* 1K */
    143       1.5   thorpej 
    144  1.20.4.1        ad #define L1TT_SIZE		0x2000	/* 8K */
    145  1.20.4.1        ad 
    146       1.5   thorpej /*
    147       1.5   thorpej  * ARM L1 Descriptors
    148       1.5   thorpej  */
    149       1.5   thorpej 
    150       1.5   thorpej #define	L1_TYPE_INV	0x00		/* Invalid (fault) */
    151       1.5   thorpej #define	L1_TYPE_C	0x01		/* Coarse L2 */
    152       1.5   thorpej #define	L1_TYPE_S	0x02		/* Section */
    153       1.5   thorpej #define	L1_TYPE_F	0x03		/* Fine L2 */
    154       1.5   thorpej #define	L1_TYPE_MASK	0x03		/* mask of type bits */
    155       1.5   thorpej 
    156       1.5   thorpej /* L1 Section Descriptor */
    157       1.5   thorpej #define	L1_S_B		0x00000004	/* bufferable Section */
    158       1.5   thorpej #define	L1_S_C		0x00000008	/* cacheable Section */
    159       1.5   thorpej #define	L1_S_IMP	0x00000010	/* implementation defined */
    160       1.5   thorpej #define	L1_S_DOM(x)	((x) << 5)	/* domain */
    161       1.5   thorpej #define	L1_S_DOM_MASK	L1_S_DOM(0xf)
    162       1.5   thorpej #define	L1_S_AP(x)	((x) << 10)	/* access permissions */
    163       1.5   thorpej #define	L1_S_ADDR_MASK	0xfff00000	/* phys address of section */
    164       1.5   thorpej 
    165       1.5   thorpej #define	L1_S_XSCALE_P	0x00000200	/* ECC enable for this section */
    166       1.8      matt #define	L1_S_XS_TEX(x) ((x) << 12)	/* Type Extension */
    167      1.10       bsh #define	L1_S_V6_TEX(x)	L1_S_XS_TEX(x)
    168       1.8      matt #define	L1_S_V6_P	0x00000200	/* ECC enable for this section */
    169       1.8      matt #define	L1_S_V6_SUPER	0x00040000	/* ARMv6 SuperSection (16MB) bit */
    170       1.8      matt #define	L1_S_V6_XN	L1_S_IMP	/* ARMv6 eXecute Never */
    171       1.8      matt #define	L1_S_V6_APX	0x00008000	/* ARMv6 AP eXtension */
    172       1.8      matt #define	L1_S_V6_S	0x00010000	/* ARMv6 Shared */
    173       1.8      matt #define	L1_S_V6_nG	0x00020000	/* ARMv6 not-Global */
    174      1.12      matt #define	L1_S_V6_SS	0x00040000	/* ARMv6 SuperSection */
    175      1.12      matt #define	L1_S_V6_NS	0x00080000	/* ARMv6 Not Secure */
    176       1.5   thorpej 
    177       1.5   thorpej /* L1 Coarse Descriptor */
    178       1.5   thorpej #define	L1_C_IMP0	0x00000004	/* implementation defined */
    179       1.5   thorpej #define	L1_C_IMP1	0x00000008	/* implementation defined */
    180       1.5   thorpej #define	L1_C_IMP2	0x00000010	/* implementation defined */
    181       1.5   thorpej #define	L1_C_DOM(x)	((x) << 5)	/* domain */
    182       1.5   thorpej #define	L1_C_DOM_MASK	L1_C_DOM(0xf)
    183       1.5   thorpej #define	L1_C_ADDR_MASK	0xfffffc00	/* phys address of L2 Table */
    184       1.5   thorpej 
    185       1.5   thorpej #define	L1_C_XSCALE_P	0x00000200	/* ECC enable for this section */
    186       1.8      matt #define	L1_C_V6_P	0x00000200	/* ECC enable for this section */
    187       1.5   thorpej 
    188       1.5   thorpej /* L1 Fine Descriptor */
    189       1.5   thorpej #define	L1_F_IMP0	0x00000004	/* implementation defined */
    190       1.5   thorpej #define	L1_F_IMP1	0x00000008	/* implementation defined */
    191       1.5   thorpej #define	L1_F_IMP2	0x00000010	/* implementation defined */
    192       1.5   thorpej #define	L1_F_DOM(x)	((x) << 5)	/* domain */
    193       1.5   thorpej #define	L1_F_DOM_MASK	L1_F_DOM(0xf)
    194       1.5   thorpej #define	L1_F_ADDR_MASK	0xfffff000	/* phys address of L2 Table */
    195       1.1   thorpej 
    196       1.5   thorpej #define	L1_F_XSCALE_P	0x00000200	/* ECC enable for this section */
    197       1.5   thorpej 
    198       1.5   thorpej /*
    199       1.5   thorpej  * ARM L2 Descriptors
    200       1.5   thorpej  */
    201       1.1   thorpej 
    202       1.5   thorpej #define	L2_TYPE_INV	0x00		/* Invalid (fault) */
    203       1.5   thorpej #define	L2_TYPE_L	0x01		/* Large Page */
    204       1.5   thorpej #define	L2_TYPE_S	0x02		/* Small Page */
    205      1.13      matt #define	L2_TYPE_T	0x03		/* Tiny Page (not armv7) */
    206       1.5   thorpej #define	L2_TYPE_MASK	0x03		/* mask of type bits */
    207       1.5   thorpej 
    208      1.18     skrll /*
    209      1.18     skrll  * This L2 Descriptor type is available on XScale processors
    210      1.18     skrll  * when using a Coarse L1 Descriptor.  The Extended Small
    211      1.18     skrll  * Descriptor has the same format as the XScale Tiny Descriptor,
    212      1.18     skrll  * but describes a 4K page, rather than a 1K page.
    213      1.18     skrll  * For V6 MMU, this is used when XP bit is cleared.
    214      1.18     skrll  */
    215       1.8      matt #define	L2_TYPE_XS	0x03		/* XScale/ARMv6 Extended Small Page */
    216       1.5   thorpej 
    217       1.5   thorpej #define	L2_B		0x00000004	/* Bufferable page */
    218       1.5   thorpej #define	L2_C		0x00000008	/* Cacheable page */
    219       1.5   thorpej #define	L2_AP0(x)	((x) << 4)	/* access permissions (sp 0) */
    220       1.5   thorpej #define	L2_AP1(x)	((x) << 6)	/* access permissions (sp 1) */
    221       1.5   thorpej #define	L2_AP2(x)	((x) << 8)	/* access permissions (sp 2) */
    222       1.5   thorpej #define	L2_AP3(x)	((x) << 10)	/* access permissions (sp 3) */
    223       1.5   thorpej #define	L2_AP(x)	(L2_AP0(x) | L2_AP1(x) | L2_AP2(x) | L2_AP3(x))
    224       1.1   thorpej 
    225       1.8      matt #define	L2_XS_L_TEX(x)	((x) << 12)	/* Type Extension */
    226       1.8      matt #define	L2_XS_T_TEX(x)	((x) << 6)	/* Type Extension */
    227      1.10       bsh #define	L2_XS_XN	0x00000001	/* ARMv6 eXecute Never (when XP=1) */
    228       1.8      matt #define	L2_XS_APX	0x00000200	/* ARMv6 AP eXtension */
    229       1.8      matt #define	L2_XS_S		0x00000400	/* ARMv6 Shared */
    230       1.8      matt #define	L2_XS_nG	0x00000800	/* ARMv6 Not-Global */
    231      1.10       bsh #define	L2_V6_L_TEX	L2_XS_L_TEX
    232      1.10       bsh #define	L2_V6_XS_TEX	L2_XS_T_TEX
    233      1.15      matt #define	L2_XS_L_XN	0x00008000	/* ARMv6 eXecute Never */
    234      1.10       bsh 
    235       1.1   thorpej 
    236       1.5   thorpej /*
    237       1.5   thorpej  * Access Permissions for L1 and L2 Descriptors.
    238       1.5   thorpej  */
    239       1.5   thorpej #define	AP_W		0x01		/* writable */
    240       1.5   thorpej #define	AP_U		0x02		/* user */
    241       1.1   thorpej 
    242      1.10       bsh /*
    243      1.10       bsh  * Access Permissions for L1 and L2 of ARMv6 with XP=1 and ARMv7
    244      1.10       bsh  */
    245      1.10       bsh #define	AP_R		0x01		/* readable */
    246      1.15      matt #define	AP_RO		0x20		/* read-only (L2_XS_APX >> 4) */
    247       1.9  jmcneill 
    248       1.5   thorpej /*
    249       1.5   thorpej  * Short-hand for common AP_* constants.
    250       1.5   thorpej  *
    251       1.5   thorpej  * Note: These values assume the S (System) bit is set and
    252       1.5   thorpej  * the R (ROM) bit is clear in CP15 register 1.
    253       1.5   thorpej  */
    254       1.5   thorpej #define	AP_KR		0x00		/* kernel read */
    255       1.5   thorpej #define	AP_KRW		0x01		/* kernel read/write */
    256      1.17     skrll #define	AP_KRWUR	0x02		/* kernel read/write user read */
    257      1.17     skrll #define	AP_KRWURW	0x03		/* kernel read/write user read/write */
    258       1.5   thorpej 
    259       1.5   thorpej /*
    260       1.8      matt  * Note: These values assume the S (System) and the R (ROM) bits are clear and
    261       1.8      matt  * the XP (eXtended page table) bit is set in CP15 register 1.  ARMv6 only.
    262       1.8      matt  */
    263       1.8      matt #define	APX_KR(APX)	(APX|0x01)	/* kernel read */
    264       1.8      matt #define	APX_KRUR(APX)	(APX|0x02)	/* kernel read user read */
    265       1.8      matt #define	APX_KRW(APX)	(    0x01)	/* kernel read/write */
    266       1.8      matt #define	APX_KRWUR(APX)	(    0x02)	/* kernel read/write user read */
    267       1.8      matt #define	APX_KRWURW(APX)	(    0x03)	/* kernel read/write user read/write */
    268       1.8      matt 
    269       1.8      matt /*
    270       1.9  jmcneill  * Note: These values are for the simplified access permissions model
    271       1.9  jmcneill  * of ARMv7. Assumes that AFE is clear in CP15 register 1.
    272      1.10       bsh  * Also used for ARMv6 with XP bit set.
    273       1.9  jmcneill  */
    274       1.9  jmcneill #define	AP7_KR		0x21		/* kernel read */
    275      1.17     skrll #define	AP7_KRUR	0x23		/* kernel read user read */
    276       1.9  jmcneill #define	AP7_KRW		0x01		/* kernel read/write */
    277      1.17     skrll #define	AP7_KRWURW	0x03		/* kernel read/write user read/write */
    278       1.9  jmcneill 
    279       1.9  jmcneill /*
    280       1.5   thorpej  * Domain Types for the Domain Access Control Register.
    281       1.5   thorpej  */
    282       1.5   thorpej #define	DOMAIN_FAULT	0x00		/* no access */
    283       1.5   thorpej #define	DOMAIN_CLIENT	0x01		/* client */
    284       1.5   thorpej #define	DOMAIN_RESERVED	0x02		/* reserved */
    285       1.5   thorpej #define	DOMAIN_MANAGER	0x03		/* manager */
    286       1.5   thorpej 
    287       1.5   thorpej /*
    288       1.5   thorpej  * Type Extension bits for XScale processors.
    289       1.5   thorpej  *
    290       1.5   thorpej  * Behavior of C and B when X == 0:
    291       1.5   thorpej  *
    292       1.5   thorpej  * C B  Cacheable  Bufferable  Write Policy  Line Allocate Policy
    293       1.5   thorpej  * 0 0      N          N            -                 -
    294       1.5   thorpej  * 0 1      N          Y            -                 -
    295       1.5   thorpej  * 1 0      Y          Y       Write-through    Read Allocate
    296       1.5   thorpej  * 1 1      Y          Y        Write-back      Read Allocate
    297       1.5   thorpej  *
    298       1.5   thorpej  * Behavior of C and B when X == 1:
    299       1.5   thorpej  * C B  Cacheable  Bufferable  Write Policy  Line Allocate Policy
    300       1.5   thorpej  * 0 0      -          -            -                 -           DO NOT USE
    301       1.5   thorpej  * 0 1      N          Y            -                 -
    302       1.5   thorpej  * 1 0  Mini-Data      -            -                 -
    303       1.5   thorpej  * 1 1      Y          Y        Write-back       R/W Allocate
    304       1.5   thorpej  */
    305       1.5   thorpej #define	TEX_XSCALE_X	0x01		/* X modifies C and B */
    306       1.1   thorpej 
    307      1.10       bsh /*
    308      1.12      matt  * Type Extension bits for ARM V6 and V7 MMU
    309      1.10       bsh  *
    310      1.19     skrll  * TEX C B                                                    Shared
    311      1.19     skrll  * 000 0 0  Strong order                                      yes
    312      1.19     skrll  * 000 0 1  Shared device                                     yes
    313      1.19     skrll  * 000 1 0  Outer and Inner write through, no write alloc     S-bit
    314      1.19     skrll  * 000 1 1  Outer and Inner write back, no write alloc        S-bit
    315      1.19     skrll  * 001 0 0  Outer and Inner non-cacheable                     S-bit
    316      1.10       bsh  * 001 0 1  reserved
    317      1.10       bsh  * 001 1 0  reserved
    318      1.19     skrll  * 001 1 1  Outer and Inner write back, write alloc           S-bit
    319      1.19     skrll  * 010 0 0  Non-shared device                                 no
    320      1.10       bsh  * 010 0 1  reserved
    321      1.10       bsh  * 010 1 X  reserved
    322      1.10       bsh  * 011 X X  reserved
    323      1.19     skrll  * 1BB A A  BB for inner, AA for outer                        S-bit
    324      1.10       bsh  *
    325      1.19     skrll  *    BB    inner cache
    326      1.19     skrll  *    0 0   Non-cacheable
    327      1.19     skrll  *    0 1   Write back, write alloc
    328      1.19     skrll  *    1 0   Write through, no write alloc
    329      1.19     skrll  *    1 1   Write back, no write alloc
    330      1.19     skrll  *
    331      1.19     skrll  *    AA    outer cache
    332      1.19     skrll  *    0 0   Non-cacheable
    333      1.19     skrll  *    0 1   Write back, write alloc
    334      1.19     skrll  *    1 0   Write through, no write alloc
    335      1.19     skrll  *    1 1   Write back, no write alloc
    336      1.10       bsh  */
    337      1.10       bsh 
    338      1.10       bsh #define	TEX_ARMV6_TEX	0x07		/* 3 bits in TEX */
    339      1.10       bsh 
    340       1.5   thorpej #endif /* _ARM_PTE_H_ */
    341