summaryrefslogtreecommitdiff
path: root/src/sim/system.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/system.hh')
-rw-r--r--src/sim/system.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sim/system.hh b/src/sim/system.hh
index d82978018..595892385 100644
--- a/src/sim/system.hh
+++ b/src/sim/system.hh
@@ -271,6 +271,11 @@ class System : public MemObject
*/
bool isMemAddr(Addr addr) const;
+ /**
+ * Get the architecture.
+ */
+ Arch getArch() const { return Arch::TheISA; }
+
/**
* Get the page bytes for the ISA.
*/