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:
Gabe Black 2007-06-01 16:24:50 +00:00
commit 85caab4e8c

View file

@ -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);