38#ifndef __DEV_ARM_SMMU_V3_PORTS_HH__
39#define __DEV_ARM_SMMU_V3_PORTS_HH__
The AddrRange class encapsulates an address range, and supports a number of tests to check if two ran...
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 ~SMMUATSDevicePort()
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 AddrRangeList getAddrRanges() const
Get a list of the non-overlapping address ranges the owner is responsible for.
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 ~SMMUATSMemoryPort()
SnoopRespPacketQueue snoopRespQueue
virtual Tick recvAtomic(PacketPtr pkt)
Receive an atomic request packet from the peer.
virtual ~SMMUControlPort()
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 ~SMMUDevicePort()
virtual AddrRangeList getAddrRanges() const
Get a list of the non-overlapping address ranges the owner is responsible for.
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 ~SMMURequestPort()
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...
virtual ~SMMUTableWalkPort()
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.
Copyright (c) 2024 Arm Limited All rights reserved.
const PortID InvalidPortID
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
uint64_t Tick
Tick count type.
Declaration of the queued port.
Declaration of SimpleTimingPort.