Revisión | 099bf53b7a4bf69f4c4007c769895263a9c3f6f4 (tree) |
---|---|
Tiempo | 2018-12-13 23:41:24 |
Autor | Richard Henderson <richard.henderson@lina...> |
Commiter | Peter Maydell |
target/arm: Add HCR_EL2 bits up to ARMv8.5
Post v8.3 bits taken from SysReg_v85_xml-00bet8.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20181203203839.757-3-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
@@ -1249,7 +1249,7 @@ static inline void xpsr_write(CPUARMState *env, uint32_t val, uint32_t mask) | ||
1249 | 1249 | #define HCR_TIDCP (1ULL << 20) |
1250 | 1250 | #define HCR_TACR (1ULL << 21) |
1251 | 1251 | #define HCR_TSW (1ULL << 22) |
1252 | -#define HCR_TPC (1ULL << 23) | |
1252 | +#define HCR_TPCP (1ULL << 23) | |
1253 | 1253 | #define HCR_TPU (1ULL << 24) |
1254 | 1254 | #define HCR_TTLB (1ULL << 25) |
1255 | 1255 | #define HCR_TVM (1ULL << 26) |
@@ -1261,6 +1261,26 @@ static inline void xpsr_write(CPUARMState *env, uint32_t val, uint32_t mask) | ||
1261 | 1261 | #define HCR_CD (1ULL << 32) |
1262 | 1262 | #define HCR_ID (1ULL << 33) |
1263 | 1263 | #define HCR_E2H (1ULL << 34) |
1264 | +#define HCR_TLOR (1ULL << 35) | |
1265 | +#define HCR_TERR (1ULL << 36) | |
1266 | +#define HCR_TEA (1ULL << 37) | |
1267 | +#define HCR_MIOCNCE (1ULL << 38) | |
1268 | +#define HCR_APK (1ULL << 40) | |
1269 | +#define HCR_API (1ULL << 41) | |
1270 | +#define HCR_NV (1ULL << 42) | |
1271 | +#define HCR_NV1 (1ULL << 43) | |
1272 | +#define HCR_AT (1ULL << 44) | |
1273 | +#define HCR_NV2 (1ULL << 45) | |
1274 | +#define HCR_FWB (1ULL << 46) | |
1275 | +#define HCR_FIEN (1ULL << 47) | |
1276 | +#define HCR_TID4 (1ULL << 49) | |
1277 | +#define HCR_TICAB (1ULL << 50) | |
1278 | +#define HCR_TOCU (1ULL << 52) | |
1279 | +#define HCR_TTLBIS (1ULL << 54) | |
1280 | +#define HCR_TTLBOS (1ULL << 55) | |
1281 | +#define HCR_ATA (1ULL << 56) | |
1282 | +#define HCR_DCT (1ULL << 57) | |
1283 | + | |
1264 | 1284 | /* |
1265 | 1285 | * When we actually implement ARMv8.1-VHE we should add HCR_E2H to |
1266 | 1286 | * HCR_MASK and then clear it again if the feature bit is not set in |