If GICv4.1 is not implemented (our case) the register should be
treated as RES0
Change-Id: Ia60f6dce9741c34bf167805f60c3fc8bf0897510
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34875
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
//return 0x43b; // ARM JEP106 code (r0p0 GIC-500)
return 0;
+ case GICD_TYPER2: // Interrupt Controller Type Register 2
+ return 0; // RES0
+
case GICD_STATUSR: // Error Reporting Status Register
// Optional register, RAZ/WI
return 0x0;
GICD_TYPER = 0x0004,
// Implementer Identification Register
GICD_IIDR = 0x0008,
+ // Interrupt Controller Type Register 2
+ GICD_TYPER2 = 0x000C,
// Error Reporting Status Register
GICD_STATUSR = 0x0010,
// Set Non-secure SPI Pending Register