diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-06-01 16:24:50 +0000 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-06-01 16:24:50 +0000 |
commit | 85caab4e8c91bcbe08803773be7f0222b660dcf7 (patch) | |
tree | db90bcf330c336002a999b7e252a6c4d21d20e56 /src/cpu/simple/base.cc | |
parent | a703fdfcf9206c03e77eec2878a67cf455d69be1 (diff) | |
parent | a7fe9345eefa106c12630eb92df5dc956d94820c (diff) | |
download | gem5-85caab4e8c91bcbe08803773be7f0222b660dcf7.tar.xz |
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86
--HG--
extra : convert_revision : de6db1dbe0db519e75d723c7221a60f54b713f8f
Diffstat (limited to 'src/cpu/simple/base.cc')
-rw-r--r-- | src/cpu/simple/base.cc | 2 |
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); |