gem5  v22.1.0.0
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)

Definition at line 94 of file abstract_mem.hh.

◆ LockedAddr() [2/2]

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

Definition at line 99 of file abstract_mem.hh.

Member Function Documentation

◆ mask()

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

◆ matchesContext()

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

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

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 Wed Dec 21 2022 10:24:15 for gem5 by doxygen 1.9.1