gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
AlphaISA::VAddr Struct Reference

#include <pagetable.hh>

Public Member Functions

 VAddr (const VAddr &)=default
 
 VAddr (Addr a)
 
 operator Addr () const
 
const VAddroperator= (Addr a)
 
Addr vpn () const
 
Addr page () const
 
Addr offset () const
 
Addr level3 () const
 
Addr level2 () const
 
Addr level1 () const
 

Public Attributes

Addr addr
 

Static Public Attributes

static const int ImplBits = 43
 
static const Addr ImplMask = (ULL(1) << ImplBits) - 1
 
static const Addr UnImplMask = ~ImplMask
 

Detailed Description

Definition at line 40 of file pagetable.hh.

Constructor & Destructor Documentation

◆ VAddr() [1/2]

AlphaISA::VAddr::VAddr ( const VAddr )
default

◆ VAddr() [2/2]

AlphaISA::VAddr::VAddr ( Addr  a)
inline

Definition at line 49 of file pagetable.hh.

Member Function Documentation

◆ level1()

Addr AlphaISA::VAddr::level1 ( ) const
inline

◆ level2()

Addr AlphaISA::VAddr::level2 ( ) const
inline

◆ level3()

Addr AlphaISA::VAddr::level3 ( ) const
inline

Definition at line 57 of file pagetable.hh.

References AlphaISA::PageShift, and AlphaISA::PteAddr().

Referenced by AlphaISA::kernel_pte_lookup().

◆ offset()

Addr AlphaISA::VAddr::offset ( ) const
inline

Definition at line 55 of file pagetable.hh.

References AlphaISA::PageOffset.

Referenced by AlphaISA::vtophys().

◆ operator Addr()

AlphaISA::VAddr::operator Addr ( ) const
inline

Definition at line 50 of file pagetable.hh.

References addr.

◆ operator=()

const VAddr& AlphaISA::VAddr::operator= ( Addr  a)
inline

Definition at line 51 of file pagetable.hh.

References X86ISA::a.

◆ page()

Addr AlphaISA::VAddr::page ( ) const
inline

Definition at line 54 of file pagetable.hh.

References AlphaISA::PageMask.

Referenced by AlphaISA::ItbPageFault::invoke().

◆ vpn()

Addr AlphaISA::VAddr::vpn ( ) const
inline

Member Data Documentation

◆ addr

Addr AlphaISA::VAddr::addr

Definition at line 46 of file pagetable.hh.

Referenced by operator Addr().

◆ ImplBits

const int AlphaISA::VAddr::ImplBits = 43
static

Definition at line 42 of file pagetable.hh.

◆ ImplMask

const Addr AlphaISA::VAddr::ImplMask = (ULL(1) << ImplBits) - 1
static

Definition at line 43 of file pagetable.hh.

◆ UnImplMask

const Addr AlphaISA::VAddr::UnImplMask = ~ImplMask
static

Definition at line 44 of file pagetable.hh.


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

Generated on Fri Feb 28 2020 16:27:18 for gem5 by doxygen 1.8.13