41#ifndef __MEM_GEM5_PROTOCOL_ATOMIC_HH__
42#define __MEM_GEM5_PROTOCOL_ATOMIC_HH__
50class AtomicResponseProtocol;
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.
virtual Tick recvAtomicSnoop(PacketPtr pkt)=0
Receive an atomic snoop request packet from our peer.
Tick send(AtomicResponseProtocol *peer, PacketPtr pkt)
Send an atomic request packet, where the data is moved and the state is updated in zero time,...
Tick sendSnoop(AtomicRequestProtocol *peer, PacketPtr pkt)
Send an atomic snoop request packet, where the data is moved and the state is updated in zero time,...
virtual Tick recvAtomicBackdoor(PacketPtr pkt, MemBackdoorPtr &backdoor)=0
Receive an atomic request packet from the peer, and optionally provide a backdoor to the data being a...
virtual Tick recvAtomic(PacketPtr pkt)=0
Receive an atomic request packet from the peer.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Tick
Tick count type.
Declaration of the Packet class.