inorder: se compile fixes
This commit is contained in:
parent
e572c01120
commit
fe3a2aa4a3
2 changed files with 4 additions and 1 deletions
|
@ -702,7 +702,10 @@ InOrderCPU::tick()
|
||||||
|
|
||||||
++numCycles;
|
++numCycles;
|
||||||
|
|
||||||
|
#if FULL_SYSTEM
|
||||||
checkForInterrupts();
|
checkForInterrupts();
|
||||||
|
#endif
|
||||||
|
|
||||||
bool pipes_idle = true;
|
bool pipes_idle = true;
|
||||||
//Tick each of the stages
|
//Tick each of the stages
|
||||||
for (int stNum=NumStages - 1; stNum >= 0 ; stNum--) {
|
for (int stNum=NumStages - 1; stNum >= 0 ; stNum--) {
|
||||||
|
|
|
@ -454,8 +454,8 @@ CacheUnit::doTLBAccess(DynInstPtr inst, CacheReqPtr cache_req, int acc_size,
|
||||||
// schedule a time to process the tlb miss.
|
// schedule a time to process the tlb miss.
|
||||||
// latency hardcoded to 1 (for now), but will be updated
|
// latency hardcoded to 1 (for now), but will be updated
|
||||||
// when timing translation gets added in
|
// when timing translation gets added in
|
||||||
scheduleEvent(slot_idx, 1);
|
|
||||||
unsigned slot_idx = cache_req->getSlot();
|
unsigned slot_idx = cache_req->getSlot();
|
||||||
|
scheduleEvent(slot_idx, 1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Mark it as complete so it can pass through next stage.
|
// Mark it as complete so it can pass through next stage.
|
||||||
|
|
Loading…
Reference in a new issue