Changeset c3213bb in mainline
- Timestamp:
- 2013-01-19T22:37:29Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4b28c70
- Parents:
- 612edca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/cp15.h
r612edca rc3213bb 68 68 }; 69 69 CONTROL_REG_GEN_READ(MIDR, c0, 0, c0, 0); 70 71 enum { 72 CTR_FORMAT_MASK = 0xe0000000, 73 CTR_FORMAT_ARMv7 = 0x80000000, 74 CTR_FORMAT_ARMv6 = 0x00000000, 75 /* ARMv7 format */ 76 CTR_CWG_MASK = 0xf, 77 CTR_CWG_SHIFT = 24, 78 CTR_ERG_MASK = 0xf, 79 CTR_ERG_SHIFT = 20, 80 CTR_D_MIN_LINE_MASK = 0xf, 81 CTR_D_MIN_LINE_SHIFT = 16, 82 CTR_I_MIN_LINE_MASK = 0xf, 83 CTR_I_MIN_LINE_SHIFT = 0, 84 CTR_L1I_POLICY_MASK = 0x0000c000, 85 VTR_L1I_POLICY_AIVIVT = 0x00004000, 86 VTR_L1I_POLICY_VIPT = 0x00008000, 87 CTR_L1I_POLICY_PIPT = 0x0000c000, 88 /* ARMv6 format */ 89 CTR_CTYPE_MASK = 0x1e000000, 90 CTR_CTYPE_WT = 0x00000000, 91 CTR_CTYPE_WB_NL = 0x04000000, 92 CTR_CTYPE_WB_D = 0x0a000000, 93 CTR_CTYPE_WB_A = 0x0c000000, /**< ARMv5- only */ 94 CTR_CTYPE_WB_B = 0x0e000000, /**< ARMv5- only */ 95 CTR_CTYPE_WB_C = 0x1c000000, 96 CTR_SEP_FLAG = 1 << 24, 97 CTR_DCACHE_P_FLAG = 1 << 23, 98 CTR_DCACHE_SIZE_MASK = 0xf, 99 CTR_DCACHE_SIZE_SHIFT = 18, 100 CTR_DCACHE_ASSOC_MASK = 0x7, 101 CTR_DCACHE_ASSOC_SHIFT = 15, 102 CTR_DCACHE_M_FLAG = 1 << 14, 103 CTR_DCACHE_LEN_MASK = 0x3, 104 CTR_DCACHE_LEN_SHIFT = 0, 105 CTR_ICACHE_P_FLAG = 1 << 11, 106 CTR_ICACHE_SIZE_MASK = 0xf, 107 CTR_ICACHE_SIZE_SHIFT = 6, 108 CTR_ICACHE_ASSOC_MASK = 0x7, 109 CTR_ICACHE_ASSOC_SHIFT = 3, 110 CTR_ICACHE_M_FLAG = 1 << 2, 111 CTR_ICACHE_LEN_MASK = 0x3, 112 CTR_ICACHE_LEN_SHIFT = 0, 113 }; 70 114 CONTROL_REG_GEN_READ(CTR, c0, 0, c0, 1); 71 115 CONTROL_REG_GEN_READ(TCMR, c0, 0, c0, 2);
Note:
See TracChangeset
for help on using the changeset viewer.