This is needed since by default the model is assuming a GICv4
memory layout.
Change-Id: Ic64e6a488cc1a43a56ce28f6d11b8868df102aa0
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/+/20248
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
node.append(self._state.sizeCellsProperty())
node.append(FdtProperty("interrupt-controller"))
+ redist_stride = 0x40000 if self.gicv4 else 0x20000
+ node.append(FdtPropertyWords("redistributor-stride",
+ state.sizeCells(redist_stride)))
+
regs = (
state.addrCells(self.dist_addr) +
state.sizeCells(0x10000) +