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

#include <smmu_v3_ptops.hh>

Inheritance diagram for V7LPageTableOps:
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 60 of file smmu_v3_ptops.hh.

Member Function Documentation

◆ firstLevel()

unsigned V7LPageTableOps::firstLevel ( uint8_t  tsz) const
overridevirtual

Implements PageTableOps.

Definition at line 123 of file smmu_v3_ptops.cc.

◆ index()

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

Implements PageTableOps.

Definition at line 87 of file smmu_v3_ptops.cc.

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

◆ isLeaf()

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

Implements PageTableOps.

Definition at line 55 of file smmu_v3_ptops.cc.

References X86ISA::level, and panic.

Referenced by nextLevelPointer().

◆ isValid()

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

Implements PageTableOps.

Definition at line 44 of file smmu_v3_ptops.cc.

References X86ISA::level, and panic.

◆ isWritable()

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

Implements PageTableOps.

Definition at line 66 of file smmu_v3_ptops.cc.

References bits().

◆ lastLevel()

unsigned V7LPageTableOps::lastLevel ( ) const
overridevirtual

Implements PageTableOps.

Definition at line 129 of file smmu_v3_ptops.cc.

◆ nextLevelPointer()

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

Implements PageTableOps.

Definition at line 72 of file smmu_v3_ptops.cc.

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

◆ pageMask()

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

Implements PageTableOps.

Definition at line 101 of file smmu_v3_ptops.cc.

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

◆ walkMask()

Addr V7LPageTableOps::walkMask ( unsigned  level) const
overridevirtual

Implements PageTableOps.

Definition at line 112 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:33 for gem5 by doxygen 1.8.17