gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Static Private Attributes | List of all members
LockedAddr Class Reference

Locked address class that represents a physical address and a context id. More...

#include <abstract_mem.hh>

Public Member Functions

bool matchesContext (Request *req) const
 
 LockedAddr (Request *req)
 
 LockedAddr (Addr _addr, int _cid)
 

Static Public Member Functions

static Addr mask (Addr paddr)
 

Public Attributes

Addr addr
 
const ContextID contextId
 

Static Private Attributes

static const Addr Addr_Mask = 0xf
 

Detailed Description

Locked address class that represents a physical address and a context id.

Definition at line 63 of file abstract_mem.hh.

Constructor & Destructor Documentation

LockedAddr::LockedAddr ( Request req)
inline

Definition at line 87 of file abstract_mem.hh.

LockedAddr::LockedAddr ( Addr  _addr,
int  _cid 
)
inline

Definition at line 92 of file abstract_mem.hh.

Member Function Documentation

static Addr LockedAddr::mask ( Addr  paddr)
inlinestatic

Definition at line 79 of file abstract_mem.hh.

References Addr_Mask.

Referenced by AbstractMemory::checkLockedAddrList(), and AbstractMemory::trackLoadLocked().

bool LockedAddr::matchesContext ( Request req) const
inline

Definition at line 82 of file abstract_mem.hh.

References contextId, and Request::contextId().

Member Data Documentation

Addr LockedAddr::addr

Definition at line 74 of file abstract_mem.hh.

const Addr LockedAddr::Addr_Mask = 0xf
staticprivate

Definition at line 69 of file abstract_mem.hh.

Referenced by mask().

const ContextID LockedAddr::contextId

Definition at line 77 of file abstract_mem.hh.

Referenced by matchesContext().


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

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