gem5  v22.0.0.2
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
gem5::SparcISA::TlbMap Class Reference

#include <tlb_map.hh>

Public Types

typedef RangeMap::iterator iterator
 

Public Member Functions

iterator find (const TlbRange &r)
 
bool intersect (const TlbRange &r)
 
iterator insert (TlbRange &r, TlbEntry *d)
 
size_t erase (TlbRange k)
 
void erase (iterator p)
 
void erase (iterator p, iterator q)
 
void clear ()
 
iterator begin ()
 
iterator end ()
 
size_t size ()
 
bool empty ()
 
void print ()
 

Private Types

typedef std::map< TlbRange, TlbEntry * > RangeMap
 

Private Attributes

RangeMap tree
 

Detailed Description

Definition at line 42 of file tlb_map.hh.

Member Typedef Documentation

◆ iterator

typedef RangeMap::iterator gem5::SparcISA::TlbMap::iterator

Definition at line 49 of file tlb_map.hh.

◆ RangeMap

typedef std::map<TlbRange, TlbEntry*> gem5::SparcISA::TlbMap::RangeMap
private

Definition at line 45 of file tlb_map.hh.

Member Function Documentation

◆ begin()

iterator gem5::SparcISA::TlbMap::begin ( )
inline

Definition at line 130 of file tlb_map.hh.

References tree.

Referenced by gem5::SparcISA::TLB::clearUsedBits().

◆ clear()

void gem5::SparcISA::TlbMap::clear ( )
inline

Definition at line 124 of file tlb_map.hh.

References tree.

Referenced by gem5::SparcISA::TLB::flushAll(), and gem5::SparcISA::TLB::unserialize().

◆ empty()

bool gem5::SparcISA::TlbMap::empty ( )
inline

Definition at line 148 of file tlb_map.hh.

References tree.

◆ end()

iterator gem5::SparcISA::TlbMap::end ( )
inline

◆ erase() [1/3]

void gem5::SparcISA::TlbMap::erase ( iterator  p)
inline

Definition at line 112 of file tlb_map.hh.

References gem5::VegaISA::p, and tree.

◆ erase() [2/3]

void gem5::SparcISA::TlbMap::erase ( iterator  p,
iterator  q 
)
inline

Definition at line 118 of file tlb_map.hh.

References gem5::VegaISA::p, gem5::ArmISA::q, and tree.

◆ erase() [3/3]

size_t gem5::SparcISA::TlbMap::erase ( TlbRange  k)
inline

◆ find()

iterator gem5::SparcISA::TlbMap::find ( const TlbRange r)
inline

◆ insert()

iterator gem5::SparcISA::TlbMap::insert ( TlbRange r,
TlbEntry d 
)
inline

◆ intersect()

bool gem5::SparcISA::TlbMap::intersect ( const TlbRange r)
inline

Definition at line 86 of file tlb_map.hh.

References find(), gem5::ArmISA::i, gem5::VegaISA::r, and tree.

Referenced by insert().

◆ print()

void gem5::SparcISA::TlbMap::print ( )
inline

Definition at line 154 of file tlb_map.hh.

References gem5::ArmISA::i, and tree.

◆ size()

size_t gem5::SparcISA::TlbMap::size ( )
inline

Definition at line 142 of file tlb_map.hh.

References tree.

Member Data Documentation

◆ tree

RangeMap gem5::SparcISA::TlbMap::tree
private

Definition at line 46 of file tlb_map.hh.

Referenced by begin(), clear(), empty(), end(), erase(), find(), insert(), intersect(), print(), and size().


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

Generated on Thu Jul 28 2022 13:34:18 for gem5 by doxygen 1.8.17