gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
gem5::VegaISA::PWCEntry Struct Reference

#include <page_walk_cache.hh>

Inheritance diagram for gem5::VegaISA::PWCEntry:
gem5::ReplaceableEntry

Public Types

using IndexingPolicy = VegaPWCIndexingPolicy
 
using KeyType = Addr
 

Public Member Functions

void invalidate ()
 
void insert (const KeyType &key)
 
bool isValid () const
 
bool match (const KeyType &key) const
 
- Public Member Functions inherited from gem5::ReplaceableEntry
 ReplaceableEntry ()
 
virtual ~ReplaceableEntry ()=default
 
virtual void setPosition (const uint32_t set, const uint32_t way)
 Set both the set and way.
 
uint32_t getSet () const
 Get set number.
 
uint32_t getWay () const
 Get way number.
 
virtual std::string print () const
 Prints relevant information about this entry.
 

Public Attributes

PageTableEntry pteEntry
 
Addr paddr
 
bool valid
 
- Public Attributes inherited from gem5::ReplaceableEntry
std::shared_ptr< replacement_policy::ReplacementDatareplacementData
 Replacement data associated to this entry.
 

Additional Inherited Members

- Protected Attributes inherited from gem5::ReplaceableEntry
uint32_t _set
 Set to which this entry belongs.
 
uint32_t _way
 Way (relative position within the set) to which this entry belongs.
 

Detailed Description

Definition at line 47 of file page_walk_cache.hh.

Member Typedef Documentation

◆ IndexingPolicy

◆ KeyType

Definition at line 51 of file page_walk_cache.hh.

Member Function Documentation

◆ insert()

void gem5::VegaISA::PWCEntry::insert ( const KeyType & key)
inline

Definition at line 67 of file page_walk_cache.hh.

◆ invalidate()

void gem5::VegaISA::PWCEntry::invalidate ( )
inline

Definition at line 62 of file page_walk_cache.hh.

References valid.

◆ isValid()

bool gem5::VegaISA::PWCEntry::isValid ( ) const
inline

Definition at line 68 of file page_walk_cache.hh.

References valid.

◆ match()

bool gem5::VegaISA::PWCEntry::match ( const KeyType & key) const
inline

Definition at line 71 of file page_walk_cache.hh.

References paddr, and valid.

Member Data Documentation

◆ paddr

Addr gem5::VegaISA::PWCEntry::paddr

Definition at line 57 of file page_walk_cache.hh.

Referenced by gem5::VegaISA::PageWalkCache::insert(), and match().

◆ pteEntry

PageTableEntry gem5::VegaISA::PWCEntry::pteEntry

◆ valid

bool gem5::VegaISA::PWCEntry::valid

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

Generated on Mon May 26 2025 09:20:41 for gem5 by doxygen 1.13.2