dev-arm: Get a Gicv3Redistributor ptr from phys address
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 26 Apr 2019 10:24:17 +0000 (11:24 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 2 May 2019 14:42:42 +0000 (14:42 +0000)
commit5f29ec8a5e66e5865a35fb3bc509f31b20053081
treeb742c91e514a0a3830497bb89a5ed3219d414fa5
parent68f2f1c5f55bee74b7d4c99f3c612473869f81e6
dev-arm: Get a Gicv3Redistributor ptr from phys address

The patch is adding the following method to Gicv3:

* Gicv3::getRedistributorByAddr
This will be needed by the ITS when trying to select the target
redistributor after decoding the collection table entry (RDBase).

Change-Id: I40e2c155f2fdc8ca6d3c20ff7a27702e02499f20
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18597
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/arm/gic_v3.cc
src/dev/arm/gic_v3.hh