summaryrefslogtreecommitdiff
path: root/src/dev/arm/realview.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/arm/realview.hh')
-rw-r--r--src/dev/arm/realview.hh10
1 files changed, 10 insertions, 0 deletions
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<const Params *>(_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