gem5  v21.1.0.2
Public Member Functions | Static Public Member Functions | Public Attributes | Static Private Attributes | List of all members
gem5::memory::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 (const RequestPtr &req) const
 
 LockedAddr (const RequestPtr &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 67 of file abstract_mem.hh.

Constructor & Destructor Documentation

◆ LockedAddr() [1/2]

gem5::memory::LockedAddr::LockedAddr ( const RequestPtr req)
inline

Definition at line 94 of file abstract_mem.hh.

◆ LockedAddr() [2/2]

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

Definition at line 99 of file abstract_mem.hh.

Member Function Documentation

◆ mask()

static Addr gem5::memory::LockedAddr::mask ( Addr  paddr)
inlinestatic

◆ matchesContext()

bool gem5::memory::LockedAddr::matchesContext ( const RequestPtr req) const
inline

Definition at line 87 of file abstract_mem.hh.

References contextId, and gem5::InvalidContextID.

Member Data Documentation

◆ addr

Addr gem5::memory::LockedAddr::addr

Definition at line 79 of file abstract_mem.hh.

◆ Addr_Mask

const Addr gem5::memory::LockedAddr::Addr_Mask = 0xf
staticprivate

Definition at line 74 of file abstract_mem.hh.

Referenced by mask().

◆ contextId

const ContextID gem5::memory::LockedAddr::contextId

Definition at line 82 of file abstract_mem.hh.

Referenced by matchesContext().


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

Generated on Tue Sep 21 2021 12:31:27 for gem5 by doxygen 1.8.17