diff --git a/cpu/simple/cpu.cc b/cpu/simple/cpu.cc index 85a38f99cd..0f1f9574a9 100644 --- a/cpu/simple/cpu.cc +++ b/cpu/simple/cpu.cc @@ -973,7 +973,7 @@ SimpleCPU::tick() ifetch_req->setSize(sizeof(MachInst)); #endif - ifetch_req->reset(true); + ifetch_req->resetMin(); ifetch_req->setVaddr(cpuXC->readPC() & ~3); ifetch_req->setTime(curTick); #if FULL_SYSTEM diff --git a/mem/request.hh b/mem/request.hh index 6bcfd9c5bc..903e7503cb 100644 --- a/mem/request.hh +++ b/mem/request.hh @@ -66,9 +66,12 @@ class Request /** Constructor, needs a bool to signify if it is/isn't Cpu Request. */ Request(bool isCpu); - /** reset the request to it's initial state so it can be reused by the - * CPU.*/ - void reset(bool isCpu); + /** reset the request to it's initial state so it can be reused.*/ + void resetAll(bool isCpu); + + /** reset the request's addrs times, etc, so but not everything to same + * time. */ + void resetMin(); //First non-cpu request fields private: