summaryrefslogtreecommitdiff
path: root/sim/process.cc
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-03-14 18:30:09 -0500
committerKorey Sewell <ksewell@umich.edu>2006-03-14 18:30:09 -0500
commit0d8cfed042cbd987fd5b9c5d9307d8c34225c90e (patch)
treed7fd03fa79135645a11629da94a9d3d33478b7ea /sim/process.cc
parent67a1b7a61b42abb9be2fb075ec0d4cc2f6414926 (diff)
parent6547e8882ba8fa538a8a80040b7eb82baedc540a (diff)
downloadgem5-0d8cfed042cbd987fd5b9c5d9307d8c34225c90e.tar.xz
Merge zizzer:/bk/newmem
into zazzer.eecs.umich.edu:/.automount/zooks/y/ksewell/research/m5-sim/newmem --HG-- extra : convert_revision : 054833d2f7019b9a1247efc4451ccb143242059d
Diffstat (limited to 'sim/process.cc')
-rw-r--r--sim/process.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/process.cc b/sim/process.cc
index 80f787062..260abcfe2 100644
--- a/sim/process.cc
+++ b/sim/process.cc
@@ -363,6 +363,7 @@ LiveProcess::startup()
Addr prog_entry = objFile->entryPoint();
execContexts[0]->setPC(prog_entry);
execContexts[0]->setNextPC(prog_entry + sizeof(MachInst));
+ execContexts[0]->setNextNPC(prog_entry + (2 * sizeof(MachInst)));
num_processes++;
}