gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
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 130 of file cache_blk.hh.

Constructor & Destructor Documentation

◆ Lock()

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

Definition at line 155 of file cache_blk.hh.

Member Function Documentation

◆ intersects()

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

Definition at line 147 of file cache_blk.hh.

References highAddr, and lowAddr.

◆ matches()

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

Definition at line 138 of file cache_blk.hh.

References contextId, highAddr, and lowAddr.

Member Data Documentation

◆ contextId

ContextID CacheBlk::Lock::contextId

Definition at line 132 of file cache_blk.hh.

Referenced by matches().

◆ highAddr

Addr CacheBlk::Lock::highAddr

Definition at line 134 of file cache_blk.hh.

Referenced by intersects(), and matches().

◆ lowAddr

Addr CacheBlk::Lock::lowAddr

Definition at line 133 of file cache_blk.hh.

Referenced by intersects(), and matches().


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

Generated on Wed Sep 30 2020 14:02:22 for gem5 by doxygen 1.8.17