summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2012-05-16 12:37:08 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2012-05-16 12:37:08 -0400
commit7f14ea0c0053f49ada31a51a3d88c44abb18cf66 (patch)
treebf869084ba1ab59821f4b0beaeb21bb6f2968ac9 /configs
parente62beaaa8ff9a87bf7523ebb18c5a7559f369eb0 (diff)
downloadgem5-7f14ea0c0053f49ada31a51a3d88c44abb18cf66.tar.xz
Config: Fix a typo in the se.py script for setting fastmem
This patch changes a hardcoded index 0 to the appropriate CPU index so that fastmem is set correctly for all the CPUs in the system.
Diffstat (limited to 'configs')
-rw-r--r--configs/example/se.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/example/se.py b/configs/example/se.py
index 855c685c8..8324bea4e 100644
--- a/configs/example/se.py
+++ b/configs/example/se.py
@@ -166,7 +166,7 @@ for i in xrange(np):
system.cpu[i].workload = multiprocesses[i]
if options.fastmem:
- system.cpu[0].fastmem = True
+ system.cpu[i].fastmem = True
if options.checker:
system.cpu[i].addCheckerCpu()