dev-arm: Factory SimObject for generating ArmInterruptPin
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 30 Aug 2018 15:43:02 +0000 (16:43 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 10 Sep 2018 10:24:10 +0000 (10:24 +0000)
commit579443c64fd176ec2af4c7f38b3d37484ad21ffa
tree30fef6eda22a6ea0e7b334c59a6ca62e06e94850
parent4c9ba9cd2925c83889c6388b4f5a15820bd9986b
dev-arm: Factory SimObject for generating ArmInterruptPin

With this patch the python ArmInterruptPin SimObject matches to the
C++ ArmInterruptPinGen. The latter is in charge of generating
the ArmInterruptPin (which is not a SimObject anymore).
This is meant to ease the generation of ArmInterruptPins: by
not being SimObjects we are not forced to instantiate them
in the configuration script; we can generate them dynamically
instead throughout simulation.

Change-Id: I917d73a26168447221f5993c8ae975ee3771e3bf
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/12401
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/pmu.cc
src/dev/arm/Gic.py
src/dev/arm/base_gic.cc
src/dev/arm/base_gic.hh
src/dev/arm/vio_mmio.cc