diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-04-06 10:19:36 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-04-06 10:19:36 -0700 |
commit | d080581db1f9ee4e1e6d07d2b01c13c67908a391 (patch) | |
tree | cc484b289fa5a30c4631f9faa1d8b456bffeebfc /configs/example/fs.py | |
parent | 7a7c4c5fca83a8d47c7e71c9c080a882ebe204a9 (diff) | |
parent | 639cb0a42d953ee32bc7e96b0cdfa96cd40e9fc1 (diff) | |
download | gem5-d080581db1f9ee4e1e6d07d2b01c13c67908a391.tar.xz |
Merge ARM into the head. ARM will compile but may not actually work.
Diffstat (limited to 'configs/example/fs.py')
-rw-r--r-- | configs/example/fs.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py index abfd3cc47..c155d0222 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -29,6 +29,10 @@ import optparse, os, sys import m5 + +if not m5.build_env['FULL_SYSTEM']: + m5.fatal("This script requires full-system mode (*_FS).") + from m5.objects import * m5.AddToPath('../common') from FSConfig import * @@ -37,9 +41,6 @@ from Benchmarks import * import Simulation from Caches import * -if not m5.build_env['FULL_SYSTEM']: - m5.panic("This script requires full-system mode (ALPHA_FS).") - # Get paths we might need. It's expected this file is in m5/configs/example. config_path = os.path.dirname(os.path.abspath(__file__)) config_root = os.path.dirname(config_path) @@ -104,7 +105,7 @@ elif m5.build_env['TARGET_ISA'] == "sparc": elif m5.build_env['TARGET_ISA'] == "x86": test_sys = makeLinuxX86System(test_mem_mode, bm[0]) else: - m5.panic("incapable of building non-alpha or non-sparc full system!") + m5.fatal("incapable of building non-alpha or non-sparc full system!") if options.kernel is not None: test_sys.kernel = binary(options.kernel) |