Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86 --HG-- extra : convert_revision : de6db1dbe0db519e75d723c7221a60f54b713f8f
This commit is contained in:
commit
85caab4e8c
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ BaseSimpleCPU::setupFetchRequest(Request *req)
|
||||||
|
|
||||||
const Addr PCMask = ~(sizeof(MachInst) - 1);
|
const Addr PCMask = ~(sizeof(MachInst) - 1);
|
||||||
Addr fetchPC = thread->readPC() + fetchOffset;
|
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);
|
Fault fault = thread->translateInstReq(req);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue