MEM: Remove the Broadcast destination from the packet
[gem5.git] / src / cpu / inorder / inorder_trace.hh
index ccc868f15f792602e8b59e6e3a834375867d4768..5386f641dd25655620a0d52b608ca247491901e5 100644 (file)
@@ -47,8 +47,8 @@ class InOrderTraceRecord : public ExeTracerRecord
 {
   public:
     InOrderTraceRecord(unsigned num_stages, bool _stage_tracing,
-           ThreadContext *_thread, bool spec = false)
-        : ExeTracerRecord(0, _thread, NULL, 0, spec)
+           ThreadContext *_thread, TheISA::PCState _pc, bool spec = false)
+        : ExeTracerRecord(0, _thread, NULL, _pc, spec)
     {
         stageTrace = _stage_tracing;
         stageCycle.resize(num_stages);
@@ -75,7 +75,8 @@ class InOrderTraceRecord : public ExeTracerRecord
     {
         staticInst = _staticInst;
     }
-    void setPC(Addr _pc) { PC = _pc; }
+
+    void setPC(TheISA::PCState _pc) { pc = _pc; }
 };
 
 class InOrderTrace : public InstTracer
@@ -87,11 +88,11 @@ class InOrderTrace : public InstTracer
     InOrderTraceRecord *
     getInstRecord(unsigned num_stages, bool stage_tracing, ThreadContext *tc);
 
-    virtual InOrderTraceRecord *getInstRecord(Tick when, ThreadContext *tc,
-            const StaticInstPtr staticInst, Addr pc,
-            const StaticInstPtr macroStaticInst = NULL, MicroPC upc = 0);
+    InOrderTraceRecord *getInstRecord(Tick when, ThreadContext *tc,
+            const StaticInstPtr staticInst, TheISA::PCState pc,
+            const StaticInstPtr macroStaticInst = NULL);
 };
 
-/* namespace Trace */ }
+} // namespace Trace
 
 #endif // __CPU_INORDER_INORDER_TRACE_HH__