gem5 v25.0.0.1
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.

References contextId, highAddr, and lowAddr.

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 Lock(), and matches().

◆ highAddr

Addr gem5::CacheBlk::Lock::highAddr

Definition at line 122 of file cache_blk.hh.

Referenced by intersects(), Lock(), and matches().

◆ lowAddr

Addr gem5::CacheBlk::Lock::lowAddr

Definition at line 121 of file cache_blk.hh.

Referenced by intersects(), Lock(), and matches().


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

Generated on Sat Oct 18 2025 08:06:49 for gem5 by doxygen 1.14.0