Go to the documentation of this file.
85 respQueue(_ifc, *this)
112 addrRange(_addrRange)
119 unsigned size = pkt->
getSize();
122 panic(
"SMMU: invalid address on control port %x, packet size %d",
143 reqQueue(_ifc, *this),
144 snoopRespQueue(_ifc, *this)
157 respQueue(_ifc, *this)
163 panic(
"Functional access on ATS port!");
SMMUControlPort(const std::string &_name, SMMUv3 &_smmu, AddrRange _addrRange)
virtual void recvReqRetry()
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
virtual void recvFunctional(PacketPtr pkt)
Receive a functional request packet from the peer.
uint32_t payloadDelay
The extra pipelining delay from seeing the packet until the end of payload is transmitted by the comp...
bool recvTimingResp(PacketPtr pkt)
bool atsRecvTimingResp(PacketPtr pkt)
bool recvTimingReq(PacketPtr pkt)
SMMUv3DeviceInterface & ifc
uint64_t Tick
Tick count type.
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
static scfx_rep_node * list
bool contains(const Addr &a) const
Determine if the range contains an address.
uint32_t headerDelay
The extra delay from seeing the packet until the header is transmitted.
SMMUATSMemoryPort(const std::string &_name, SMMUv3DeviceInterface &_ifc)
The AddrRange class encapsulates an address range, and supports a number of tests to check if two ran...
The QueuedRequestPort combines two queues, a request queue and a snoop response queue,...
SMMUDevicePort(const std::string &_name, SMMUv3DeviceInterface &_ifc, PortID _id=InvalidPortID)
virtual AddrRangeList getAddrRanges() const
Get a list of the non-overlapping address ranges the owner is responsible for.
A queued port is a port that has an infinite queue for outgoing packets and thus decouples the module...
virtual bool recvTimingReq(PacketPtr pkt)
Receive a timing request from the peer.
virtual bool recvTimingResp(PacketPtr pkt)
Receive a timing response from the peer.
Tick readControl(PacketPtr pkt)
A RequestPort is a specialisation of a Port, which implements the default protocol for the three diff...
virtual bool recvTimingResp(PacketPtr pkt)
Receive a timing response from the peer.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
virtual bool recvTimingResp(PacketPtr pkt)
Receive a timing response from the peer.
virtual Tick recvAtomic(PacketPtr pkt)
Receive an atomic request packet from the peer.
RespPacketQueue respQueue
Tick atsRecvAtomic(PacketPtr pkt)
void tableWalkRecvReqRetry()
The simple timing port uses a queued port to implement recvFunctional and recvTimingReq through recvA...
bool trySatisfyFunctional(PacketPtr pkt)
Check the list of buffered packets against the supplied functional request.
virtual Tick recvAtomic(PacketPtr pkt)
Receive an atomic request packet from the peer.
Tick recvAtomic(PacketPtr pkt)
virtual void recvReqRetry()
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
Tick writeControl(PacketPtr pkt)
bool atsRecvTimingReq(PacketPtr pkt)
SMMUATSDevicePort(const std::string &_name, SMMUv3DeviceInterface &_ifc)
SMMUv3DeviceInterface & ifc
virtual Tick recvAtomic(PacketPtr pkt)
Receive an atomic request packet from the peer.
virtual void recvFunctional(PacketPtr pkt)
Receive a functional request packet from the peer.
virtual bool recvTimingReq(PacketPtr pkt)
Receive a timing request from the peer.
SMMURequestPort(const std::string &_name, SMMUv3 &_smmu)
bool tableWalkRecvTimingResp(PacketPtr pkt)
SMMUTableWalkPort(const std::string &_name, SMMUv3 &_smmu)
SMMUv3DeviceInterface & ifc
#define panic(...)
This implements a cprintf based panic() function.
Generated on Wed Sep 30 2020 14:02:10 for gem5 by doxygen 1.8.17