projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbcc354
)
Minor error. Forgotten to remove brackets for threadPC.
author
Vincentius Robby
<acolyte@umich.edu>
Fri, 1 Jun 2007 16:24:49 +0000
(12:24 -0400)
committer
Vincentius Robby
<acolyte@umich.edu>
Fri, 1 Jun 2007 16:24:49 +0000
(12:24 -0400)
--HG--
extra : convert_revision :
40a636a539e84decfca438c07adf022eed7b7780
src/cpu/simple/base.cc
patch
|
blob
|
history
diff --git
a/src/cpu/simple/base.cc
b/src/cpu/simple/base.cc
index 5e078c502df3fb29beb6b726fcb5d790a8ed954b..6145b13a10770a22a2910d5d65901cf92b54269e 100644
(file)
--- 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);