X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmem%2Ftport.hh;h=5e80f4fab081d5dd6ecee7a44f1abb25bf22193e;hb=f49830ce0ba79c54c65c9c4b25bc3c6184aaf2a9;hp=1f08d1a912a137e37c8ea0d5dc07b5031aacc26b;hpb=c80cd4136e3fec00c8448bc0dea20a65b182a259;p=gem5.git diff --git a/src/mem/tport.hh b/src/mem/tport.hh index 1f08d1a91..5e80f4fab 100644 --- a/src/mem/tport.hh +++ b/src/mem/tport.hh @@ -60,10 +60,17 @@ 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);