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