ARM: Finish the timing translation when taking a fault.

This commit is contained in:
Min Kyu Jeong 2010-08-23 11:18:39 -05:00
parent cb76111a7e
commit d4e83a4001

View file

@ -145,9 +145,15 @@ TableWalker::walk(RequestPtr _req, ThreadContext *_tc, uint8_t _cid, TLB::Mode _
f = tlb->walkTrickBoxCheck(l1desc_addr, currState->vaddr, sizeof(uint32_t),
currState->isFetch, currState->isWrite, 0, true);
if (f) {
currState->tc = NULL;
currState->req = NULL;
return f;
if (currState->timing) {
currState->transState->finish(f, currState->req,
currState->tc, currState->mode);
currState = NULL;
} else {
currState->tc = NULL;
currState->req = NULL;
}
return f;
}
if (currState->timing) {