gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 41 of file tlb_map.hh.

Member Typedef Documentation

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

Definition at line 48 of file tlb_map.hh.

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

Definition at line 44 of file tlb_map.hh.

Member Function Documentation

iterator SparcISA::TlbMap::begin ( )
inline

Definition at line 129 of file tlb_map.hh.

References tree.

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

void SparcISA::TlbMap::clear ( )
inline

Definition at line 123 of file tlb_map.hh.

References tree.

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

bool SparcISA::TlbMap::empty ( )
inline

Definition at line 147 of file tlb_map.hh.

References tree.

iterator SparcISA::TlbMap::end ( )
inline
size_t SparcISA::TlbMap::erase ( TlbRange  k)
inline
void SparcISA::TlbMap::erase ( iterator  p)
inline

Definition at line 111 of file tlb_map.hh.

References tree.

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

Definition at line 117 of file tlb_map.hh.

References tree.

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

Definition at line 96 of file tlb_map.hh.

References intersect(), and tree.

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

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

Definition at line 85 of file tlb_map.hh.

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

Referenced by insert().

void SparcISA::TlbMap::print ( )
inline

Definition at line 153 of file tlb_map.hh.

References ArmISA::i, and tree.

size_t SparcISA::TlbMap::size ( )
inline

Definition at line 141 of file tlb_map.hh.

References tree.

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

Member Data Documentation

RangeMap SparcISA::TlbMap::tree
private

Definition at line 45 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 Fri Jun 9 2017 13:04:37 for gem5 by doxygen 1.8.6