Go to the documentation of this file.
38 #ifndef __MEM_QPORT_HH__
39 #define __MEM_QPORT_HH__
167 #endif // __MEM_QPORT_HH__
void recvRespRetry()
Called by the peer if sendTimingResp was called on this protocol (causing recvTimingResp to be called...
A ResponsePort is a specialization of a port.
const PortID InvalidPortID
uint64_t Tick
Tick count type.
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
virtual ~QueuedRequestPort()
void schedTimingResp(PacketPtr pkt, Tick when)
Schedule the sending of a timing response.
void schedSendTiming(PacketPtr pkt, Tick when)
Add a packet to the transmit list, and schedule a send event.
QueuedResponsePort(const std::string &name, SimObject *owner, RespPacketQueue &resp_queue, PortID id=InvalidPortID)
Create a QueuedPort with a given name, owner, and a supplied implementation of a packet queue.
void recvReqRetry()
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
void schedTimingReq(PacketPtr pkt, Tick when)
Schedule the sending of a timing request.
QueuedRequestPort(const std::string &name, SimObject *owner, ReqPacketQueue &req_queue, SnoopRespPacketQueue &snoop_resp_queue, PortID id=InvalidPortID)
Create a QueuedPort with a given name, owner, and a supplied implementation of two packet queues.
The QueuedRequestPort combines two queues, a request queue and a snoop response queue,...
void schedTimingSnoopResp(PacketPtr pkt, Tick when)
Schedule the sending of a timing snoop response.
A queued port is a port that has an infinite queue for outgoing packets and thus decouples the module...
const PortID id
A numeric identifier to distinguish ports in a vector, and set to InvalidPortID in case this port is ...
A RequestPort is a specialisation of a Port, which implements the default protocol for the three diff...
const std::string name() const
Return port name (for DPRINTF).
bool trySatisfyFunctional(PacketPtr pkt)
Check the list of buffered packets against the supplied functional request.
SnoopRespPacketQueue & snoopRespQueue
Packet queue used to store outgoing snoop responses.
RespPacketQueue & respQueue
Packet queue used to store outgoing responses.
bool trySatisfyFunctional(PacketPtr pkt)
Check the list of buffered packets against the supplied functional request.
void recvRetrySnoopResp()
Called by the peer if sendTimingSnoopResp was called on this protocol (causing recvTimingSnoopResp to...
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
virtual ~QueuedResponsePort()
ReqPacketQueue & reqQueue
Packet queue used to store outgoing requests.
bool trySatisfyFunctional(PacketPtr pkt)
Check the list of buffered packets against the supplied functional request.
void retry()
Retry sending a packet from the queue.
Abstract superclass for simulation objects.
Generated on Wed Sep 30 2020 14:02:13 for gem5 by doxygen 1.8.17