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>
This commit is contained in:
@@ -1722,13 +1722,13 @@ namespace ArmISA
|
||||
Bitfield<4> pd0;
|
||||
Bitfield<5> pd1;
|
||||
// Long-descriptor translation table format
|
||||
Bitfield<5, 0> t0sz;
|
||||
Bitfield<2, 0> t0sz;
|
||||
Bitfield<7> epd0;
|
||||
Bitfield<9, 8> irgn0;
|
||||
Bitfield<11, 10> orgn0;
|
||||
Bitfield<13, 12> sh0;
|
||||
Bitfield<14> tg0;
|
||||
Bitfield<21, 16> t1sz;
|
||||
Bitfield<18, 16> t1sz;
|
||||
Bitfield<22> a1;
|
||||
Bitfield<23> epd1;
|
||||
Bitfield<25, 24> irgn1;
|
||||
|
||||
Reference in New Issue
Block a user