gem5  v20.1.0.0
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
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 39 of file tlb_map.hh.

Member Typedef Documentation

◆ iterator

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

Definition at line 46 of file tlb_map.hh.

◆ RangeMap

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

Definition at line 42 of file tlb_map.hh.

Member Function Documentation

◆ begin()

iterator SparcISA::TlbMap::begin ( )
inline

Definition at line 127 of file tlb_map.hh.

References tree.

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

◆ clear()

void SparcISA::TlbMap::clear ( )
inline

Definition at line 121 of file tlb_map.hh.

References tree.

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

◆ empty()

bool SparcISA::TlbMap::empty ( )
inline

Definition at line 145 of file tlb_map.hh.

References tree.

◆ end()

iterator SparcISA::TlbMap::end ( )
inline

◆ erase() [1/3]

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

Definition at line 109 of file tlb_map.hh.

References MipsISA::p, and tree.

◆ erase() [2/3]

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

Definition at line 115 of file tlb_map.hh.

References MipsISA::p, ArmISA::q, and tree.

◆ erase() [3/3]

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

◆ find()

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

Definition at line 49 of file tlb_map.hh.

References ArmISA::i, MipsISA::r, and tree.

Referenced by SparcISA::TLB::demapPage(), intersect(), and SparcISA::TLB::lookup().

◆ insert()

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

Definition at line 94 of file tlb_map.hh.

References ArmISA::d, intersect(), MipsISA::r, and tree.

Referenced by SparcISA::TLB::insert(), and SparcISA::TLB::unserialize().

◆ intersect()

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

Definition at line 83 of file tlb_map.hh.

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

Referenced by insert().

◆ print()

void SparcISA::TlbMap::print ( )
inline

Definition at line 151 of file tlb_map.hh.

References ArmISA::i, and tree.

◆ size()

size_t SparcISA::TlbMap::size ( )
inline

Definition at line 139 of file tlb_map.hh.

References tree.

Referenced by SparcISA::TLB::translateData().

Member Data Documentation

◆ tree

RangeMap SparcISA::TlbMap::tree
private

Definition at line 43 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 Wed Sep 30 2020 14:03:12 for gem5 by doxygen 1.8.17