arch-arm: Fix incorrect t{0,1}sz field in TTBCR
authorAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 27 Jun 2018 08:35:11 +0000 (09:35 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 28 Jun 2018 12:48:54 +0000 (12:48 +0000)
commitf6dd997ef43f52f80f5cdb43cd32614ce4169960
tree1eb4b637b996a72883956fc91fe99a9fd372ccd7
parenta77222f8d0b09497c8ce6a085c81f3960da9d5f4
arch-arm: Fix incorrect t{0,1}sz field in TTBCR

The t0sz and t1sz fields in TTBCR only are only three bits wide unlike
aarch64 which has a 6-bit wide field. The higher bits of the
aarch64-equivalent should be treated as RES0.

Change-Id: I60df73105c34500c0348a44a491c117e9b28f18f
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/11589
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
src/arch/arm/miscregs.hh