summaryrefslogtreecommitdiff
path: root/src/cpu/checker
diff options
context:
space:
mode:
authorGiacomo Travaglini <giacomo.travaglini@arm.com>2019-01-30 12:00:21 +0000
committerGiacomo Travaglini <giacomo.travaglini@arm.com>2019-02-18 12:24:03 +0000
commit291cc0665e3d62f8b7a284b0e54d0684ff6f2621 (patch)
tree762a3f6c4bcfd17beefbb7d18e701305c9a91d2d /src/cpu/checker
parent6a64cc100614f8325007e39a5defe88a2c3ba0b4 (diff)
downloadgem5-291cc0665e3d62f8b7a284b0e54d0684ff6f2621.tar.xz
arch-arm: Move GICv3 detection at startup time
At the moment the haveGicV3 parameter is used only to signal its presence when reading the MISCREG_ID_AA64PFR0_EL1 register. It depends on the system->getGIC pointing to a GICv3 model. However this pointer is set in the System only at init time (after construction), which means that the haveGICv3CPUInterface will always be false. This patch is fixing this by moving the parameter initialization at startup time, together with the cpu interface registration. Change-Id: I8da6711ea741ecd0f78ec8ca60a8c3ae3bca2421 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Anouk Van Laer <anouk.vanlaer@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/16483 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/cpu/checker')
0 files changed, 0 insertions, 0 deletions