gem5  v21.1.0.2
Public Member Functions | List of all members
gem5::V7LPageTableOps Struct Reference

#include <smmu_v3_ptops.hh>

Inheritance diagram for gem5::V7LPageTableOps:
gem5::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 gem5::PageTableOps
typedef int64_t pte_t
 

Detailed Description

Definition at line 63 of file smmu_v3_ptops.hh.

Member Function Documentation

◆ firstLevel()

unsigned gem5::V7LPageTableOps::firstLevel ( uint8_t  tsz) const
overridevirtual

Implements gem5::PageTableOps.

Definition at line 126 of file smmu_v3_ptops.cc.

◆ index()

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

Implements gem5::PageTableOps.

Definition at line 90 of file smmu_v3_ptops.cc.

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

◆ isLeaf()

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

Implements gem5::PageTableOps.

Definition at line 58 of file smmu_v3_ptops.cc.

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

Referenced by nextLevelPointer().

◆ isValid()

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

Implements gem5::PageTableOps.

Definition at line 47 of file smmu_v3_ptops.cc.

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

◆ isWritable()

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

Implements gem5::PageTableOps.

Definition at line 69 of file smmu_v3_ptops.cc.

References gem5::bits().

◆ lastLevel()

unsigned gem5::V7LPageTableOps::lastLevel ( ) const
overridevirtual

Implements gem5::PageTableOps.

Definition at line 132 of file smmu_v3_ptops.cc.

◆ nextLevelPointer()

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

Implements gem5::PageTableOps.

Definition at line 75 of file smmu_v3_ptops.cc.

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

◆ pageMask()

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

Implements gem5::PageTableOps.

Definition at line 104 of file smmu_v3_ptops.cc.

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

◆ walkMask()

Addr gem5::V7LPageTableOps::walkMask ( unsigned  level) const
overridevirtual

Implements gem5::PageTableOps.

Definition at line 115 of file smmu_v3_ptops.cc.

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


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

Generated on Tue Sep 21 2021 12:28:20 for gem5 by doxygen 1.8.17