summaryrefslogtreecommitdiff
path: root/configs/common/Options.py
diff options
context:
space:
mode:
authorMarco Elver <Marco.Elver@ARM.com>2014-12-23 09:31:18 -0500
committerMarco Elver <Marco.Elver@ARM.com>2014-12-23 09:31:18 -0500
commit177682ead4e277cd25bcb92f7bdd9a37ada9c9cd (patch)
tree38581dd9ff175ef1313da30b6be3ab2df2c7a359 /configs/common/Options.py
parentdd0f3943e20072021987780d6b15f531a4be2fca (diff)
downloadgem5-177682ead4e277cd25bcb92f7bdd9a37ada9c9cd.tar.xz
config: Add --memchecker option
This patch adds the --memchecker option, to denote that a MemChecker should be instantiated for the system. The exact usage of the MemChecker depends on the system configuration. For now CacheConfig.py makes use of the option, adding MemCheckerMonitor instances between CPUs and D-Caches. Note, however, that currently this only provides limited checking on a running system; other parts of the system, such as I/O devices are not monitored, and may cause warnings to be issued by the monitor.
Diffstat (limited to 'configs/common/Options.py')
-rw-r--r--configs/common/Options.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/common/Options.py b/configs/common/Options.py
index cb5ffad2e..f81e69a61 100644
--- a/configs/common/Options.py
+++ b/configs/common/Options.py
@@ -97,6 +97,8 @@ def addCommonOptions(parser):
parser.add_option("-l", "--lpae", action="store_true")
parser.add_option("-V", "--virtualisation", action="store_true")
+ parser.add_option("--memchecker", action="store_true")
+
# Cache Options
parser.add_option("--caches", action="store_true")
parser.add_option("--l2cache", action="store_true")