Change-Id: I864b5d9ed655cc52e440e2eb54987e8ff9a73296
Signed-off-by: Sean Wilson <spwilson2@wisc.edu>
Reviewed-on: https://gem5-review.googlesource.com/3900
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
assert(sys->numRunningContexts() <= VGIC_CPU_MAX);
}
+VGic::~VGic()
+{
+ for (int x = 0; x < VGIC_CPU_MAX; x++)
+ delete postVIntEvent[x];
+}
+
Tick
VGic::read(PacketPtr pkt)
{
return dynamic_cast<const Params *>(_params);
}
VGic(const Params *p);
+ ~VGic();
AddrRangeList getAddrRanges() const override;