mem: Clean up Request initialisation
[gem5.git] / src / mem / tport.hh
index 1f08d1a912a137e37c8ea0d5dc07b5031aacc26b..5e80f4fab081d5dd6ecee7a44f1abb25bf22193e 100644 (file)
 class SimpleTimingPort : public QueuedSlavePort
 {
 
-  protected:
+  private:
 
-    /** The packet queue used to store outgoing responses. */
-    SlavePacketQueue queue;
+    /**
+     * The packet queue used to store outgoing responses. Note that
+     * the queue is made private and that we avoid overloading the
+     * name used in the QueuedSlavePort. Access is provided through
+     * the queue reference in the base class.
+     */
+    SlavePacketQueue queueImpl;
+
+  protected:
 
     /** Implemented using recvAtomic(). */
     void recvFunctional(PacketPtr pkt);