diff options
author | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-08-30 16:43:02 +0100 |
---|---|---|
committer | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-09-10 10:24:10 +0000 |
commit | 579443c64fd176ec2af4c7f38b3d37484ad21ffa (patch) | |
tree | 30fef6eda22a6ea0e7b334c59a6ca62e06e94850 /src/arch/arm | |
parent | 4c9ba9cd2925c83889c6388b4f5a15820bd9986b (diff) | |
download | gem5-579443c64fd176ec2af4c7f38b3d37484ad21ffa.tar.xz |
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>
Diffstat (limited to 'src/arch/arm')
-rw-r--r-- | src/arch/arm/pmu.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/pmu.cc b/src/arch/arm/pmu.cc index 13b23c745..b569b6967 100644 --- a/src/arch/arm/pmu.cc +++ b/src/arch/arm/pmu.cc @@ -67,7 +67,7 @@ PMU::PMU(const ArmPMUParams *p) cycleCounterEventId(p->cycleEventId), swIncrementEvent(nullptr), reg_pmcr_conf(0), - interrupt(p->interrupt) + interrupt(p->interrupt->get()) { DPRINTF(PMUVerbose, "Initializing the PMU.\n"); |