55 return smmu.recvTimingResp(pkt);
61 return smmu.recvReqRetry();
73 return smmu.tableWalkRecvTimingResp(pkt);
79 return smmu.tableWalkRecvReqRetry();
101 return ifc.recvAtomic(pkt);
107 return ifc.recvTimingReq(pkt);
122 unsigned size = pkt->
getSize();
125 panic(
"SMMU: invalid address on control port %x, packet size %d",
131 return pkt->
isRead() ?
smmu.readControl(pkt) :
smmu.writeControl(pkt);
153 return ifc.atsRecvTimingResp(pkt);
166 panic(
"Functional access on ATS port!");
172 return ifc.atsRecvAtomic(pkt);
178 return ifc.atsRecvTimingReq(pkt);
The AddrRange class encapsulates an address range, and supports a number of tests to check if two ran...
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.
QueuedRequestPort(const std::string &name, ReqPacketQueue &req_queue, SnoopRespPacketQueue &snoop_resp_queue, PortID id=InvalidPortID)
Create a QueuedPort with a given name, and a supplied implementation of two packet queues.
QueuedResponsePort(const std::string &name, RespPacketQueue &resp_queue, PortID id=InvalidPortID)
Create a QueuedPort with a given name, owner, and a supplied implementation of a packet queue.
RequestPort(const std::string &name, SimObject *_owner, PortID id=InvalidPortID)
Request port.
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
RespPacketQueue respQueue
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
SnoopRespPacketQueue snoopRespQueue
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)
SimpleTimingPort(const std::string &name, SimObject *owner)
Create a new SimpleTimingPort that relies on a packet queue to hold responses, and implements recvTim...
std::list< AddrRange > AddrRangeList
Convenience typedef for a collection of address ranges.
#define panic(...)
This implements a cprintf based panic() function.
Copyright (c) 2024 Arm Limited 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.