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

#include <pagetable.hh>

Public Member Functions

 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

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

Definition at line 48 of file pagetable.hh.

Member Function Documentation

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

Definition at line 56 of file pagetable.hh.

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

Referenced by AlphaISA::kernel_pte_lookup().

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

Definition at line 54 of file pagetable.hh.

References addr, and AlphaISA::PageOffset.

Referenced by AlphaISA::vtophys().

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

Definition at line 49 of file pagetable.hh.

References addr.

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

Definition at line 50 of file pagetable.hh.

References X86ISA::a, and addr.

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

Definition at line 53 of file pagetable.hh.

References addr, and AlphaISA::PageMask.

Referenced by AlphaISA::NDtbMissFault::invoke(), and AlphaISA::ItbPageFault::invoke().

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

Member Data Documentation

Addr AlphaISA::VAddr::addr

Definition at line 46 of file pagetable.hh.

Referenced by level1(), level2(), level3(), offset(), operator Addr(), operator=(), page(), and vpn().

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

Definition at line 42 of file pagetable.hh.

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

Definition at line 43 of file pagetable.hh.

Referenced by vpn().

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 Jun 9 2017 13:04:24 for gem5 by doxygen 1.8.6