gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::IPACache Class Reference

#include <smmu_v3_caches.hh>

Inheritance diagram for gem5::IPACache:
gem5::SMMUv3BaseCache

Classes

struct  Entry
 

Public Member Functions

 IPACache (unsigned numEntries, unsigned _associativity, const std::string &policy, statistics::Group *parent)
 
virtual ~IPACache ()
 
const Entrylookup (Addr ipa, uint16_t vmid, bool updStats=true)
 
void store (const Entry &incoming)
 
void invalidateIPA (Addr ipa, uint16_t vmid)
 
void invalidateIPAA (Addr ipa)
 
void invalidateVMID (uint16_t vmid)
 
void invalidateAll ()
 
- Public Member Functions inherited from gem5::SMMUv3BaseCache
 SMMUv3BaseCache (const std::string &policy_name, uint32_t seed, statistics::Group *parent, const std::string &name)
 
virtual ~SMMUv3BaseCache ()
 

Private Types

typedef std::vector< EntrySet
 

Private Member Functions

size_t pickSetIdx (Addr ipa, uint16_t vmid) const
 
size_t pickEntryIdxToReplace (const Set &set)
 

Private Attributes

std::vector< Setsets
 
size_t associativity
 

Additional Inherited Members

- Static Protected Member Functions inherited from gem5::SMMUv3BaseCache
static int decodePolicyName (const std::string &policy_name)
 
- Protected Attributes inherited from gem5::SMMUv3BaseCache
int replacementPolicy
 
size_t nextToReplace
 
Random random
 
uint32_t useStamp
 
gem5::SMMUv3BaseCache::SMMUv3BaseCacheStats baseCacheStats
 

Detailed Description

Definition at line 205 of file smmu_v3_caches.hh.

Member Typedef Documentation

◆ Set

Definition at line 236 of file smmu_v3_caches.hh.

Constructor & Destructor Documentation

◆ IPACache()

gem5::IPACache::IPACache ( unsigned numEntries,
unsigned _associativity,
const std::string & policy,
statistics::Group * parent )

◆ ~IPACache()

virtual gem5::IPACache::~IPACache ( )
inlinevirtual

Definition at line 225 of file smmu_v3_caches.hh.

Member Function Documentation

◆ invalidateAll()

void gem5::IPACache::invalidateAll ( )

Definition at line 759 of file smmu_v3_caches.cc.

References gem5::ArmISA::i, gem5::ArmISA::s, gem5::ArmISA::set, and sets.

Referenced by gem5::SMMUv3::processCommand().

◆ invalidateIPA()

void gem5::IPACache::invalidateIPA ( Addr ipa,
uint16_t vmid )

◆ invalidateIPAA()

void gem5::IPACache::invalidateIPAA ( Addr ipa)

◆ invalidateVMID()

void gem5::IPACache::invalidateVMID ( uint16_t vmid)

◆ lookup()

◆ pickEntryIdxToReplace()

◆ pickSetIdx()

size_t gem5::IPACache::pickSetIdx ( Addr ipa,
uint16_t vmid ) const
private

Definition at line 770 of file smmu_v3_caches.cc.

References sets, and gem5::ArmISA::va.

Referenced by invalidateIPA(), lookup(), and store().

◆ store()

Member Data Documentation

◆ associativity

size_t gem5::IPACache::associativity
private

Definition at line 239 of file smmu_v3_caches.hh.

Referenced by IPACache(), and pickEntryIdxToReplace().

◆ sets

std::vector<Set> gem5::IPACache::sets
private

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

Generated on Tue Jun 18 2024 16:24:12 for gem5 by doxygen 1.11.0