summaryrefslogtreecommitdiff
path: root/src/sim/Root.py
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2012-01-28 07:24:34 -0800
committerGabe Black <gblack@eecs.umich.edu>2012-01-28 07:24:34 -0800
commitec20ee2f7cdaff22e63a5ae492f925d0d4839849 (patch)
treea4f7ee8e32356f97fa35df32e645711160296642 /src/sim/Root.py
parenteab5c602865bcd399f069f332edd42c4ea4edffe (diff)
downloadgem5-ec20ee2f7cdaff22e63a5ae492f925d0d4839849.tar.xz
SE/FS: Make SE vs. FS mode a runtime parameter.
Diffstat (limited to 'src/sim/Root.py')
-rw-r--r--src/sim/Root.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sim/Root.py b/src/sim/Root.py
index e15de1554..daa0a903f 100644
--- a/src/sim/Root.py
+++ b/src/sim/Root.py
@@ -28,6 +28,7 @@
# Authors: Nathan Binkert
from m5.SimObject import SimObject
+from m5.defines import buildEnv
from m5.params import *
from m5.util import fatal
@@ -58,6 +59,8 @@ class Root(SimObject):
type = 'Root'
+ full_system = Param.Bool("if this is a full system simulation")
+
# Time syncing prevents the simulation from running faster than real time.
time_sync_enable = Param.Bool(False, "whether time syncing is enabled")
time_sync_period = Param.Clock("100ms", "how often to sync with real time")