gem5  v22.0.0.2
Public Member Functions | List of all members
gem5::ArmISA::V8PageTableOps4k Struct Reference

#include <pagetable.hh>

Inheritance diagram for gem5::ArmISA::V8PageTableOps4k:
gem5::ArmISA::PageTableOps

Public Member Functions

bool isValid (pte_t pte, unsigned level) const override
 
bool isLeaf (pte_t pte, unsigned level) const override
 
bool isWritable (pte_t pte, unsigned level, bool stage2) const override
 
Addr nextLevelPointer (pte_t pte, unsigned level) const override
 
Addr index (Addr va, unsigned level, int tsz) const override
 
Addr pageMask (pte_t pte, unsigned level) const override
 
unsigned walkBits (unsigned level) const override
 
LookupLevel firstLevel (uint8_t tsz) const override
 
LookupLevel firstS2Level (uint8_t sl0) const override
 
LookupLevel lastLevel () const override
 
- Public Member Functions inherited from gem5::ArmISA::PageTableOps
Addr walkMask (unsigned level) const
 

Additional Inherited Members

- Public Types inherited from gem5::ArmISA::PageTableOps
typedef enums::ArmLookupLevel LookupLevel
 
typedef int64_t pte_t
 

Detailed Description

Definition at line 122 of file pagetable.hh.

Member Function Documentation

◆ firstLevel()

V8PageTableOps4k::LookupLevel gem5::ArmISA::V8PageTableOps4k::firstLevel ( uint8_t  tsz) const
overridevirtual

Implements gem5::ArmISA::PageTableOps.

Definition at line 234 of file pagetable.cc.

References panic.

◆ firstS2Level()

V8PageTableOps4k::LookupLevel gem5::ArmISA::V8PageTableOps4k::firstS2Level ( uint8_t  sl0) const
overridevirtual

Implements gem5::ArmISA::PageTableOps.

Definition at line 244 of file pagetable.cc.

References panic, and gem5::ArmISA::sl0.

◆ index()

Addr gem5::ArmISA::V8PageTableOps4k::index ( Addr  va,
unsigned  level,
int  tsz 
) const
overridevirtual

Implements gem5::ArmISA::PageTableOps.

Definition at line 198 of file pagetable.cc.

References gem5::bits(), gem5::X86ISA::level, panic, and gem5::ArmISA::va.

◆ isLeaf()

bool gem5::ArmISA::V8PageTableOps4k::isLeaf ( pte_t  pte,
unsigned  level 
) const
overridevirtual

Implements gem5::ArmISA::PageTableOps.

Definition at line 164 of file pagetable.cc.

References gem5::X86ISA::level, and panic.

Referenced by nextLevelPointer().

◆ isValid()

bool gem5::ArmISA::V8PageTableOps4k::isValid ( pte_t  pte,
unsigned  level 
) const
overridevirtual

Implements gem5::ArmISA::PageTableOps.

Definition at line 152 of file pagetable.cc.

References gem5::X86ISA::level, and panic.

◆ isWritable()

bool gem5::ArmISA::V8PageTableOps4k::isWritable ( pte_t  pte,
unsigned  level,
bool  stage2 
) const
overridevirtual

Implements gem5::ArmISA::PageTableOps.

Definition at line 176 of file pagetable.cc.

References gem5::bits().

◆ lastLevel()

V8PageTableOps4k::LookupLevel gem5::ArmISA::V8PageTableOps4k::lastLevel ( ) const
overridevirtual

Implements gem5::ArmISA::PageTableOps.

Definition at line 255 of file pagetable.cc.

◆ nextLevelPointer()

Addr gem5::ArmISA::V8PageTableOps4k::nextLevelPointer ( pte_t  pte,
unsigned  level 
) const
overridevirtual

Implements gem5::ArmISA::PageTableOps.

Definition at line 182 of file pagetable.cc.

References isLeaf(), gem5::X86ISA::level, gem5::mbits(), and panic.

◆ pageMask()

Addr gem5::ArmISA::V8PageTableOps4k::pageMask ( pte_t  pte,
unsigned  level 
) const
overridevirtual

Implements gem5::ArmISA::PageTableOps.

Definition at line 210 of file pagetable.cc.

References gem5::bits(), gem5::X86ISA::level, gem5::ArmISA::mask, and panic.

◆ walkBits()

unsigned gem5::ArmISA::V8PageTableOps4k::walkBits ( unsigned  level) const
overridevirtual

Implements gem5::ArmISA::PageTableOps.

Definition at line 222 of file pagetable.cc.

References gem5::X86ISA::level, and panic.


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

Generated on Thu Jul 28 2022 13:33:24 for gem5 by doxygen 1.8.17