gem5
v20.1.0.0
|
#include <atomic.hh>
Protected Member Functions | |
Tick | send (AtomicResponseProtocol *peer, PacketPtr pkt) |
Send an atomic request packet, where the data is moved and the state is updated in zero time, without interleaving with other memory accesses. More... | |
Tick | sendBackdoor (AtomicResponseProtocol *peer, PacketPtr pkt, MemBackdoorPtr &backdoor) |
Send an atomic request packet like above, but also request a backdoor to the data being accessed. More... | |
virtual Tick | recvAtomicSnoop (PacketPtr pkt)=0 |
Receive an atomic snoop request packet from our peer. More... | |
Friends | |
class | AtomicResponseProtocol |
Receive an atomic snoop request packet from our peer.
Implemented in RequestPort, CoherentXBar::CoherentXBarRequestPort, MemDelay::RequestPort, BaseCache::MemSidePort, AtomicSimpleCPU::AtomicCPUDPort, BaseTrafficGen::TrafficGenPort, CommMonitor::MonitorRequestPort, AddrMapper::MapperRequestPort, MemTest::CpuPort, and MemCheckerMonitor::MonitorRequestPort.
Referenced by AtomicResponseProtocol::sendSnoop().
|
protected |
Send an atomic request packet, where the data is moved and the state is updated in zero time, without interleaving with other memory accesses.
peer | Peer to send packet to. |
pkt | Packet to send. |
Definition at line 48 of file atomic.cc.
References Packet::isRequest(), and AtomicResponseProtocol::recvAtomic().
Referenced by RequestPort::sendAtomic().
|
protected |
Send an atomic request packet like above, but also request a backdoor to the data being accessed.
peer | Peer to send packet to. |
pkt | Packet to send. |
backdoor | Can be set to a back door pointer by the target to let caller have direct access to the requested data. |
Definition at line 55 of file atomic.cc.
References Packet::isRequest(), and AtomicResponseProtocol::recvAtomicBackdoor().
Referenced by RequestPort::sendAtomicBackdoor().
|
friend |