From 2fd2b44b86c3d40e76f1e1641001074230208b3f Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Fri, 19 Aug 2011 15:08:08 -0500 Subject: ARM: Add VExpress_E support with PCIe to gem5 --- src/dev/arm/realview.hh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/dev/arm/realview.hh') diff --git a/src/dev/arm/realview.hh b/src/dev/arm/realview.hh index c15f97a71..8ec9db5fc 100644 --- a/src/dev/arm/realview.hh +++ b/src/dev/arm/realview.hh @@ -61,8 +61,15 @@ class RealView : public Platform /** Pointer to the system */ System *system; + Gic *gic; + public: typedef RealViewParams Params; + const Params * + params() const { + return dynamic_cast(_params); + } + /** * Constructor for the Tsunami Class. * @param name name of the object @@ -71,6 +78,9 @@ class RealView : public Platform */ RealView(const Params *p); + /** Give platform a pointer to interrupt controller */ + void setGic(Gic *_gic) { gic = _gic; } + /** * Return the interrupting frequency to AlphaAccess * @return frequency of RTC interrupts -- cgit v1.2.3