gem5  v20.1.0.0
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 (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 62 of file abstract_mem.hh.

Constructor & Destructor Documentation

◆ LockedAddr() [1/2]

LockedAddr::LockedAddr ( const RequestPtr req)

Definition at line 88 of file abstract_mem.hh.

◆ LockedAddr() [2/2]

LockedAddr::LockedAddr ( Addr  _addr,
int  _cid 

Definition at line 93 of file abstract_mem.hh.

Member Function Documentation

◆ mask()

static Addr LockedAddr::mask ( Addr  paddr)

Definition at line 78 of file abstract_mem.hh.

References Addr_Mask.

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

◆ matchesContext()

bool LockedAddr::matchesContext ( const RequestPtr req) const

Definition at line 81 of file abstract_mem.hh.

References contextId, and InvalidContextID.

Member Data Documentation

◆ addr

Addr LockedAddr::addr

Definition at line 73 of file abstract_mem.hh.

◆ Addr_Mask

const Addr LockedAddr::Addr_Mask = 0xf

Definition at line 68 of file abstract_mem.hh.

Referenced by mask().

◆ contextId

const ContextID LockedAddr::contextId

Definition at line 76 of file abstract_mem.hh.

Referenced by matchesContext().

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

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