diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2011-07-10 12:56:08 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2011-07-10 12:56:08 -0500 |
commit | 60579e8d74cecea5737a4502599ccf77e9e6a35e (patch) | |
tree | 34e86b09774b7a10ba1948b189d00006d19ed684 /src/sim/system.hh | |
parent | 9751a1d3e78cbbcd17835ab967f036945ee2cec2 (diff) | |
download | gem5-60579e8d74cecea5737a4502599ccf77e9e6a35e.tar.xz |
O3: Make sure fetch doesn't go off into the weeds during speculation.
Diffstat (limited to 'src/sim/system.hh')
-rw-r--r-- | src/sim/system.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sim/system.hh b/src/sim/system.hh index 0be16247f..a6bc47fc0 100644 --- a/src/sim/system.hh +++ b/src/sim/system.hh @@ -105,6 +105,14 @@ class System : public SimObject * system. These threads could be Active or Suspended. */ int numRunningContexts(); + /** List to store ranges of memories in this system */ + AddrRangeList memRanges; + + /** check if an address points to valid system memory + * and thus we can fetch instructions out of it + */ + bool isMemory(const Addr addr) const; + #if FULL_SYSTEM Platform *platform; uint64_t init_param; |