summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincentius Robby <acolyte@umich.edu>2007-06-01 12:24:49 -0400
committerVincentius Robby <acolyte@umich.edu>2007-06-01 12:24:49 -0400
commita7fe9345eefa106c12630eb92df5dc956d94820c (patch)
treef4525feed9ca27a4ad88b89aaa80244ddafb5855
parentfbcc35450db7f70889b9769b3f4e704413e52f1c (diff)
downloadgem5-a7fe9345eefa106c12630eb92df5dc956d94820c.tar.xz
Minor error. Forgotten to remove brackets for threadPC.
--HG-- extra : convert_revision : 40a636a539e84decfca438c07adf022eed7b7780
-rw-r--r--src/cpu/simple/base.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc
index 5e078c502..6145b13a1 100644
--- a/src/cpu/simple/base.cc
+++ b/src/cpu/simple/base.cc
@@ -342,7 +342,7 @@ BaseSimpleCPU::setupFetchRequest(Request *req)
const Addr PCMask = ~(sizeof(MachInst) - 1);
Addr fetchPC = thread->readPC() + fetchOffset;
- req->setVirt(0, fetchPC & PCMask, sizeof(MachInst), 0, threadPC());
+ req->setVirt(0, fetchPC & PCMask, sizeof(MachInst), 0, threadPC);
Fault fault = thread->translateInstReq(req);