import optparse, os, sys
import m5
+
+if not m5.build_env['FULL_SYSTEM']:
+ m5.panic("This script requires full-system mode (*_FS).")
+
from m5.objects import *
m5.AddToPath('../common')
from FSConfig 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)
# "m5 test.py"
import m5
+
+if m5.build_env['FULL_SYSTEM']:
+ m5.panic("This script requires syscall emulation mode (*_SE).")
+
from m5.objects import *
import os, optparse, sys
m5.AddToPath('../common')