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!");
A MasterPort is a specialisation of a BaseMasterPort, which implements the default protocol for the t...
SMMUATSMasterPort(const std::string &_name, SMMUv3SlaveInterface &_ifc)
#define panic(...)
This implements a cprintf based panic() function.
SMMUv3SlaveInterface & ifc
Tick recvAtomic(PacketPtr pkt)
virtual bool recvTimingReq(PacketPtr pkt)
Receive a timing request from the peer.
Tick readControl(PacketPtr pkt)
Tick writeControl(PacketPtr pkt)
bool contains(const Addr &a) const
Determine if the range contains an address.
The QueuedMasterPort combines two queues, a request queue and a snoop response queue, that both share the same port.
bool atsSlaveRecvTimingReq(PacketPtr pkt)
SMMUv3SlaveInterface & ifc
SMMUATSSlavePort(const std::string &_name, SMMUv3SlaveInterface &_ifc)
A queued port is a port that has an infinite queue for outgoing packets and thus decouples the module...
virtual Tick recvAtomic(PacketPtr pkt)
Receive an atomic request packet from the peer.
bool recvTimingReq(PacketPtr pkt)
void masterRecvReqRetry()
The AddrRange class encapsulates an address range, and supports a number of tests to check if two ran...
The simple timing port uses a queued port to implement recvFunctional and recvTimingReq through recvA...
SMMUMasterPort(const std::string &_name, SMMUv3 &_smmu)
bool atsMasterRecvTimingResp(PacketPtr pkt)
virtual bool recvTimingResp(PacketPtr pkt)
Receive a timing response from the peer.
virtual bool recvTimingReq(PacketPtr pkt)
Receive a timing request from the peer.
void masterTableWalkRecvReqRetry()
uint32_t headerDelay
The extra delay from seeing the packet until the header is transmitted.
virtual void recvReqRetry()
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
uint64_t Tick
Tick count type.
Tick atsSlaveRecvAtomic(PacketPtr pkt)
bool masterRecvTimingResp(PacketPtr pkt)
virtual Tick recvAtomic(PacketPtr pkt)
Receive an atomic request packet from the peer.
virtual bool recvTimingResp(PacketPtr pkt)
Receive a timing response from the peer.
static scfx_rep_node * list
SMMUv3SlaveInterface & ifc
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
uint32_t payloadDelay
The extra pipelining delay from seeing the packet until the end of payload is transmitted by the comp...
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
This is an implementation of the SMMUv3 architecture.
virtual void recvFunctional(PacketPtr pkt)
Receive a functional request packet from the peer.
bool masterTableWalkRecvTimingResp(PacketPtr pkt)
virtual void recvFunctional(PacketPtr pkt)
Receive a functional request packet from the peer.
virtual void recvReqRetry()
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
RespPacketQueue respQueue
virtual bool recvTimingResp(PacketPtr pkt)
Receive a timing response from the peer.
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
virtual AddrRangeList getAddrRanges() const
Get a list of the non-overlapping address ranges the owner is responsible for.
SMMUSlavePort(const std::string &_name, SMMUv3SlaveInterface &_ifc, PortID _id=InvalidPortID)
bool trySatisfyFunctional(PacketPtr pkt)
Check the list of buffered packets against the supplied functional request.
SMMUMasterTableWalkPort(const std::string &_name, SMMUv3 &_smmu)
virtual Tick recvAtomic(PacketPtr pkt)
Receive an atomic request packet from the peer.
SMMUControlPort(const std::string &_name, SMMUv3 &_smmu, AddrRange _addrRange)