cpu: Update DRAM traffic gen
[gem5.git] / src / cpu / inorder / resources / fetch_seq_unit.cc
index 3d3e3cc9bb8a439e37053595332a50dfa72d7fd9..ead4953fb2505926276cbe3d006c304208c001dc 100644 (file)
@@ -180,7 +180,7 @@ FetchSeqUnit::squash(DynInstPtr inst, int squash_stage,
                 // A Trap Caused This Fault and will update the pc state
                 // when done trapping
                 DPRINTF(InOrderFetchSeq, "[tid:%i] Blocking due to fault @ "
-                        "[sn:%i].%s %s \n", inst->seqNum,
+                        "[sn:%i].%s %s \n", tid, inst->seqNum,
                         inst->instName(), inst->pcState());
                 pcValid[tid] = false;
             } else {
@@ -304,7 +304,7 @@ FetchSeqUnit::suspendThread(ThreadID tid)
 }
 
 void
-FetchSeqUnit::trap(Fault fault, ThreadID tid, DynInstPtr inst)
+FetchSeqUnit::trap(const Fault &fault, ThreadID tid, DynInstPtr inst)
 {
     pcValid[tid] = true;
     pc[tid] = cpu->pcState(tid);