gem5  v22.1.0.0
Public Member Functions | List of all members
gem5::minor::LSQ::BarrierDataRequest Class Reference

Request for doing barrier accounting in the store buffer. More...

#include <lsq.hh>

Inheritance diagram for gem5::minor::LSQ::BarrierDataRequest:
gem5::minor::LSQ::SpecialDataRequest gem5::minor::LSQ::LSQRequest gem5::BaseMMU::Translation gem5::Packet::SenderState

Public Member Functions

bool isBarrier ()
 Is this a request a barrier? More...
 
 BarrierDataRequest (LSQ &port_, MinorDynInstPtr inst_)
 
- Public Member Functions inherited from gem5::minor::LSQ::SpecialDataRequest
void startAddrTranslation ()
 Send single translation request. More...
 
PacketPtr getHeadPacket ()
 Get the head packet as counted by numIssuedFragments. More...
 
void stepToNextPacket ()
 Step on numIssuedFragments. More...
 
bool sentAllPackets ()
 Has no packets to send. More...
 
bool hasPacketsInMemSystem ()
 Never sends any requests. More...
 
void retireResponse (PacketPtr packet_)
 Keep the given packet as the response packet LSQRequest::packet. More...
 
 SpecialDataRequest (LSQ &port_, MinorDynInstPtr inst_)
 
- Public Member Functions inherited from gem5::minor::LSQ::LSQRequest
 LSQRequest (LSQ &port_, MinorDynInstPtr inst_, bool isLoad_, PacketDataPtr data_=NULL, uint64_t *res_=NULL)
 
virtual ~LSQRequest ()
 
void makePacket ()
 Make a packet to use with the memory transaction. More...
 
bool skippedMemAccess ()
 Was no memory access attempted for this request? More...
 
void setSkipped ()
 Set this request as having been skipped before a memory transfer was attempt. More...
 
AddrRangeCoverage containsAddrRangeOf (LSQRequest *other_request)
 Does this request's address range fully cover the range of other_request? More...
 
bool needsToBeSentToStoreBuffer ()
 This request, once processed by the requests/transfers queues, will need to go to the store buffer. More...
 
void setState (LSQRequestState new_state)
 Set state and output trace output. More...
 
bool isComplete () const
 Has this request been completed. More...
 
void reportData (std::ostream &os) const
 MinorTrace report interface. More...
 
- Public Member Functions inherited from gem5::BaseMMU::Translation
virtual ~Translation ()
 
virtual bool squashed () const
 This function is used by the page table walker to determine if it should translate the a pending request or if the underlying request has been squashed. More...
 
- Public Member Functions inherited from gem5::Packet::SenderState
 SenderState ()
 
virtual ~SenderState ()
 

Additional Inherited Members

- Public Types inherited from gem5::minor::LSQ::LSQRequest
enum  LSQRequestState {
  NotIssued , InTranslation , Translated , Failed ,
  RequestIssuing , StoreToStoreBuffer , RequestNeedsRetry , StoreInStoreBuffer ,
  StoreBufferIssuing , StoreBufferNeedsRetry , Complete
}
 
- Static Public Member Functions inherited from gem5::minor::LSQ::LSQRequest
static AddrRangeCoverage containsAddrRangeOf (Addr req1_addr, unsigned int req1_size, Addr req2_addr, unsigned int req2_size)
 Does address range req1 (req1_addr to req1_addr + req1_size - 1) fully cover, partially cover or not cover at all the range req2. More...
 
- Public Attributes inherited from gem5::minor::LSQ::LSQRequest
LSQport
 Owning port. More...
 
MinorDynInstPtr inst
 Instruction which made this request. More...
 
bool isLoad
 Load/store indication used for building packet. More...
 
PacketDataPtr data
 Dynamically allocated and populated data carried for building write packets. More...
 
PacketPtr packet
 
RequestPtr request
 The underlying request of this LSQRequest. More...
 
uint64_t * res
 Res from pushRequest. More...
 
bool skipped
 Was skipped. More...
 
bool issuedToMemory
 This in an access other than a normal cacheable load that's visited the memory system. More...
 
bool isTranslationDelayed
 Address translation is delayed due to table walk. More...
 
LSQRequestState state
 
- Public Attributes inherited from gem5::Packet::SenderState
SenderStatepredecessor
 
- Protected Member Functions inherited from gem5::minor::LSQ::SpecialDataRequest
void finish (const Fault &fault_, const RequestPtr &request_, ThreadContext *tc, BaseMMU::Mode mode)
 TLB interace. More...
 
- Protected Member Functions inherited from gem5::minor::LSQ::LSQRequest
void markDelayed ()
 BaseMMU::Translation interface. More...
 
void tryToSuppressFault ()
 Instructions may want to suppress translation faults (e.g. More...
 
void disableMemAccess ()
 
void completeDisabledMemAccess ()
 

Detailed Description

Request for doing barrier accounting in the store buffer.

Not for use outside that unit

Definition at line 334 of file lsq.hh.

Constructor & Destructor Documentation

◆ BarrierDataRequest()

gem5::minor::LSQ::BarrierDataRequest::BarrierDataRequest ( LSQ port_,
MinorDynInstPtr  inst_ 
)
inline

Member Function Documentation

◆ isBarrier()

bool gem5::minor::LSQ::BarrierDataRequest::isBarrier ( )
inlinevirtual

Is this a request a barrier?

Reimplemented from gem5::minor::LSQ::LSQRequest.

Definition at line 337 of file lsq.hh.


The documentation for this class was generated from the following file:

Generated on Wed Dec 21 2022 10:24:16 for gem5 by doxygen 1.9.1