summaryrefslogtreecommitdiff
path: root/src/dev/arm/realview.hh
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2011-08-19 15:08:08 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2011-08-19 15:08:08 -0500
commit2fd2b44b86c3d40e76f1e1641001074230208b3f (patch)
tree217bb533cd4bb5773fdb05e19146be8894ad65ff /src/dev/arm/realview.hh
parentd2a0a2ec2202eb8fa04ddd3e359c1c9dc7f04cb1 (diff)
downloadgem5-2fd2b44b86c3d40e76f1e1641001074230208b3f.tar.xz
ARM: Add VExpress_E support with PCIe to gem5
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