gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::CacheBlk::Lock Class Reference

Represents that the indicated thread context has a "lock" on the block, in the LL/SC sense. More...

#include <cache_blk.hh>

Public Member Functions

bool matches (const RequestPtr &req) const
 
bool intersects (const RequestPtr &req) const
 
 Lock (const RequestPtr &req)
 

Public Attributes

ContextID contextId
 
Addr lowAddr
 
Addr highAddr
 

Detailed Description

Represents that the indicated thread context has a "lock" on the block, in the LL/SC sense.

Definition at line 117 of file cache_blk.hh.

Constructor & Destructor Documentation

◆ Lock()

gem5::CacheBlk::Lock::Lock ( const RequestPtr & req)
inline

Definition at line 143 of file cache_blk.hh.

Member Function Documentation

◆ intersects()

bool gem5::CacheBlk::Lock::intersects ( const RequestPtr & req) const
inline

Definition at line 135 of file cache_blk.hh.

References highAddr, and lowAddr.

◆ matches()

bool gem5::CacheBlk::Lock::matches ( const RequestPtr & req) const
inline

Definition at line 126 of file cache_blk.hh.

References contextId, highAddr, and lowAddr.

Member Data Documentation

◆ contextId

ContextID gem5::CacheBlk::Lock::contextId

Definition at line 120 of file cache_blk.hh.

Referenced by matches().

◆ highAddr

Addr gem5::CacheBlk::Lock::highAddr

Definition at line 122 of file cache_blk.hh.

Referenced by intersects(), and matches().

◆ lowAddr

Addr gem5::CacheBlk::Lock::lowAddr

Definition at line 121 of file cache_blk.hh.

Referenced by intersects(), and matches().


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

Generated on Tue Jun 18 2024 16:24:10 for gem5 by doxygen 1.11.0