summaryrefslogtreecommitdiff
path: root/src/dev/arm/rv_ctrl.hh
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2011-05-04 20:38:27 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2011-05-04 20:38:27 -0500
commitafd08879d726dbbefa3ff6018088cd6d89b53bbb (patch)
treef77a8147770c772ce05933f9b96a615049a70263 /src/dev/arm/rv_ctrl.hh
parentf7380052669eb7030e73d4799fb448ffc8e78680 (diff)
downloadgem5-afd08879d726dbbefa3ff6018088cd6d89b53bbb.tar.xz
ARM: Add support for some more registers in the real view controller.
Diffstat (limited to 'src/dev/arm/rv_ctrl.hh')
-rw-r--r--src/dev/arm/rv_ctrl.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dev/arm/rv_ctrl.hh b/src/dev/arm/rv_ctrl.hh
index ceed5ef2f..255b21c0f 100644
--- a/src/dev/arm/rv_ctrl.hh
+++ b/src/dev/arm/rv_ctrl.hh
@@ -95,6 +95,13 @@ class RealViewCtrl : public BasicPioDevice
SysLockReg sysLock;
+ /** This register is used for smp booting.
+ * The primary cpu writes the secondary start address here before
+ * sends it a soft interrupt. The secondary cpu reads this register and if
+ * it's non-zero it jumps to the address
+ */
+ uint32_t flags;
+
public:
typedef RealViewCtrlParams Params;
const Params *