gem5  v20.1.0.0
Public Member Functions | List of all members
V8PageTableOps4k Struct Reference

#include <smmu_v3_ptops.hh>

Inheritance diagram for V8PageTableOps4k:
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) const override
 
Addr pageMask (pte_t pte, unsigned level) const override
 
Addr walkMask (unsigned level) const override
 
unsigned firstLevel (uint8_t tsz) const override
 
unsigned lastLevel () const override
 

Additional Inherited Members

- Public Types inherited from PageTableOps
typedef int64_t pte_t
 

Detailed Description

Definition at line 73 of file smmu_v3_ptops.hh.

Member Function Documentation

◆ firstLevel()

unsigned V8PageTableOps4k::firstLevel ( uint8_t  tsz) const
overridevirtual

Implements PageTableOps.

Definition at line 217 of file smmu_v3_ptops.cc.

References panic.

◆ index()

Addr V8PageTableOps4k::index ( Addr  va,
unsigned  level 
) const
overridevirtual

Implements PageTableOps.

Definition at line 181 of file smmu_v3_ptops.cc.

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

◆ isLeaf()

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

Implements PageTableOps.

Definition at line 147 of file smmu_v3_ptops.cc.

References X86ISA::level, and panic.

Referenced by nextLevelPointer().

◆ isValid()

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

Implements PageTableOps.

Definition at line 135 of file smmu_v3_ptops.cc.

References X86ISA::level, and panic.

◆ isWritable()

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

Implements PageTableOps.

Definition at line 159 of file smmu_v3_ptops.cc.

References bits().

◆ lastLevel()

unsigned V8PageTableOps4k::lastLevel ( ) const
overridevirtual

Implements PageTableOps.

Definition at line 227 of file smmu_v3_ptops.cc.

◆ nextLevelPointer()

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

Implements PageTableOps.

Definition at line 165 of file smmu_v3_ptops.cc.

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

◆ pageMask()

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

Implements PageTableOps.

Definition at line 193 of file smmu_v3_ptops.cc.

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

◆ walkMask()

Addr V8PageTableOps4k::walkMask ( unsigned  level) const
overridevirtual

Implements PageTableOps.

Definition at line 205 of file smmu_v3_ptops.cc.

References X86ISA::level, ArmISA::mask, and panic.


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

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