diff options
Diffstat (limited to 'src/dev/arm/gic.cc')
-rw-r--r-- | src/dev/arm/gic.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dev/arm/gic.cc b/src/dev/arm/gic.cc index 13e27f34d..2dac18c08 100644 --- a/src/dev/arm/gic.cc +++ b/src/dev/arm/gic.cc @@ -46,6 +46,7 @@ #include "debug/GIC.hh" #include "debug/IPI.hh" #include "dev/arm/gic.hh" +#include "dev/arm/realview.hh" #include "dev/terminal.hh" #include "mem/packet.hh" #include "mem/packet_access.hh" @@ -98,6 +99,10 @@ Gic::Gic(const Params *p) } } + RealView *rv = dynamic_cast<RealView*>(p->platform); + assert(rv); + rv->setGic(this); + } Tick |