summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-08-29 14:36:35 -0700
committerSteve Reinhardt <stever@eecs.umich.edu>2006-08-29 14:36:35 -0700
commit8bc3c2b19231df072fbc6d5dd29db612fff407dd (patch)
tree0e7efe05936542502bf3a5e6ce865df8af062c9f
parentb0bf1e84e483f30c01c4a9f4782dd562b4fb8275 (diff)
downloadgem5-8bc3c2b19231df072fbc6d5dd29db612fff407dd.tar.xz
Add FULL_SYSTEM check to example/fs.py.
--HG-- extra : convert_revision : 4cab46e73f29d2c9d24d9c0c847d598bf6d5c389
-rw-r--r--configs/example/fs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py
index 312a96d38..71c5961ef 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -35,6 +35,9 @@ from FSConfig import *
from SysPaths import *
from Benchmarks import *
+if not m5.build_env['FULL_SYSTEM']:
+ m5.panic("This script requires full-system mode (ALPHA_FS).")
+
parser = optparse.OptionParser()
parser.add_option("-d", "--detailed", action="store_true")