gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 <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 127 of file blk.hh.

Constructor & Destructor Documentation

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

Definition at line 152 of file blk.hh.

Member Function Documentation

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

Definition at line 144 of file blk.hh.

References Request::getPaddr(), Request::getSize(), highAddr, and lowAddr.

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

Member Data Documentation

ContextID CacheBlk::Lock::contextId

Definition at line 129 of file blk.hh.

Referenced by matches().

Addr CacheBlk::Lock::highAddr

Definition at line 131 of file blk.hh.

Referenced by intersects(), and matches().

Addr CacheBlk::Lock::lowAddr

Definition at line 130 of file blk.hh.

Referenced by intersects(), and matches().


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

Generated on Fri Jun 9 2017 13:04:04 for gem5 by doxygen 1.8.6