diff options
author | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2015-02-16 03:34:18 -0500 |
---|---|---|
committer | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2015-02-16 03:34:18 -0500 |
commit | 0a2ee7761617355dd981ce255aa082102d7316b4 (patch) | |
tree | 9245ff7fdcc1f4f5f288b79ff4d50ee65d0f3c40 /src/dev/arm/gic_pl390.cc | |
parent | e17328a227a47089e6f3c8fd82cc988f03807549 (diff) | |
download | gem5-0a2ee7761617355dd981ce255aa082102d7316b4.tar.xz |
arm: Wire up the GIC with the platform in the base class
Move the (common) GIC initialization code that notifies the platform
code of the new GIC to the base class (BaseGic) instead of the Pl390
implementation.
Diffstat (limited to 'src/dev/arm/gic_pl390.cc')
-rw-r--r-- | src/dev/arm/gic_pl390.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/dev/arm/gic_pl390.cc b/src/dev/arm/gic_pl390.cc index 019b3ee8b..e0d75dc6b 100644 --- a/src/dev/arm/gic_pl390.cc +++ b/src/dev/arm/gic_pl390.cc @@ -47,7 +47,6 @@ #include "debug/IPI.hh" #include "debug/Interrupt.hh" #include "dev/arm/gic_pl390.hh" -#include "dev/arm/realview.hh" #include "dev/terminal.hh" #include "mem/packet.hh" #include "mem/packet_access.hh" @@ -102,11 +101,6 @@ Pl390::Pl390(const Params *p) bankedIntPriority[i][j] = 0; } } - - RealView *rv = dynamic_cast<RealView*>(p->platform); - assert(rv); - rv->setGic(this); - } Tick |