SST  14.0.0
StructuralSimulationToolkit
SST::Interfaces::StandardMem::ReadLock Class Reference

Locked atomic update -> guaranteed success A ReadLock must be followed by a WriteUnlock. More...

#include <stdMem.h>

Inheritance diagram for SST::Interfaces::StandardMem::ReadLock:
SST::Interfaces::StandardMem::Request

Public Member Functions

 ReadLock (Addr physAddr, uint64_t size, flags_t flags=0, Addr virtAddr=0, Addr instPtr=0, uint32_t tid=0)
 
RequestmakeResponse () override
 
bool needsResponse () override
 
SST::Eventconvert (RequestConverter *converter) override
 
void handle (RequestHandler *handler) override
 
std::string getString () override
 
- Public Member Functions inherited from SST::Interfaces::StandardMem::Request
 Request (flags_t fl=0)
 
 Request (id_t rid, flags_t flags=0)
 
id_t getID ()
 
void setNoncacheable ()
 
void unsetNoncacheable ()
 
bool getNoncacheable ()
 
void setSuccess ()
 
void unsetSuccess ()
 
bool getSuccess ()
 
bool getFail ()
 
void setFail ()
 
void unsetFail ()
 
void setTrace ()
 
void unsetTrace ()
 
bool getTrace ()
 
void setFlag (flags_t flag)
 
void setFlag (Flag flag)
 
void unsetFlag (flags_t flag)
 
void unsetFlag (Flag flag)
 
bool getFlag (flags_t flag)
 
bool getFlag (Flag flag)
 
void clearAllFlags ()
 
flags_t getAllFlags ()
 
std::string getFlagString ()
 

Data Fields

Addr pAddr
 
Addr vAddr
 
uint64_t size
 
Addr iPtr
 
uint32_t tid
 

Additional Inherited Members

- Public Types inherited from SST::Interfaces::StandardMem::Request
enum  Flag { F_NONCACHEABLE = 1 << 1, F_FAIL = 1 << 2, F_TRACE = 1 << 3, F_RESERVED = 1 << 16 }
 Flags that modify requests. More...
 
typedef uint64_t id_t
 
typedef uint32_t flags_t
 
- Protected Attributes inherited from SST::Interfaces::StandardMem::Request
id_t id
 
flags_t flags
 

Detailed Description

Locked atomic update -> guaranteed success A ReadLock must be followed by a WriteUnlock.

ReadLock acquires and locks an address Returns a ReadResp with the current data value


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