diff options
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/system.hh | 5 |
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. */ |