gem5
|
#include <pagetable.hh>
Public Types | |
enum | EntryType { sun4v, sun4u, invalid } |
Public Member Functions | |
PageTableEntry () | |
PageTableEntry (uint64_t e, EntryType t=sun4u) | |
void | populate (uint64_t e, EntryType t=sun4u) |
void | clear () |
uint64_t | operator() () const |
const PageTableEntry & | operator= (uint64_t e) |
const PageTableEntry & | operator= (const PageTableEntry &e) |
bool | valid () const |
uint8_t | _size () const |
Addr | size () const |
Addr | sizeMask () const |
bool | ie () const |
Addr | pfn () const |
Addr | paddr () const |
bool | locked () const |
bool | cv () const |
bool | cp () const |
bool | priv () const |
bool | writable () const |
bool | nofault () const |
bool | sideffect () const |
Addr | paddrMask () const |
Addr | translate (Addr vaddr) const |
Static Public Attributes | |
static int | pageSizes [6] |
Private Attributes | |
uint64_t | entry |
EntryType | type |
uint64_t | entry4u |
bool | populated |
Definition at line 72 of file pagetable.hh.
Enumerator | |
---|---|
sun4v | |
sun4u | |
invalid |
Definition at line 75 of file pagetable.hh.
|
inline |
Definition at line 88 of file pagetable.hh.
Definition at line 91 of file pagetable.hh.
References entry, populate(), and type.
|
inline |
|
inline |
Definition at line 125 of file pagetable.hh.
References populated.
|
inline |
Definition at line 167 of file pagetable.hh.
|
inline |
Definition at line 166 of file pagetable.hh.
|
inline |
Definition at line 162 of file pagetable.hh.
|
inline |
Definition at line 165 of file pagetable.hh.
References bits(), entry4u, and populated.
Referenced by SparcISA::TLB::clearUsedBits().
|
inline |
Definition at line 170 of file pagetable.hh.
References bits(), entry4u, and populated.
Referenced by SparcISA::TLB::translateData().
|
inline |
Definition at line 132 of file pagetable.hh.
|
inline |
Definition at line 135 of file pagetable.hh.
|
inline |
Definition at line 143 of file pagetable.hh.
|
inline |
Definition at line 164 of file pagetable.hh.
References entry4u, mbits(), and populated.
Referenced by SparcISA::TLB::dumpAll(), SparcISA::TLB::insert(), SparcISA::TLB::lookup(), paddrMask(), SparcISA::TlbEntry::pageStart(), translate(), and SparcISA::TLB::translateData().
|
inline |
Definition at line 172 of file pagetable.hh.
References paddr(), populated, and sizeMask().
|
inline |
Definition at line 163 of file pagetable.hh.
Definition at line 98 of file pagetable.hh.
References bits(), ArmISA::e, entry, entry4u, mbits(), populated, sun4u, ArmISA::t, and type.
Referenced by SparcISA::TLB::doMmuRegWrite(), PageTableEntry(), SparcISA::TlbEntry::unserialize(), and SparcISA::vtophys().
|
inline |
Definition at line 168 of file pagetable.hh.
References bits(), entry4u, and populated.
Referenced by SparcISA::TLB::translateData(), and SparcISA::TLB::translateInst().
|
inline |
Definition at line 171 of file pagetable.hh.
References bits(), entry4u, and populated.
Referenced by SparcISA::TLB::translateData().
|
inline |
Definition at line 160 of file pagetable.hh.
References _size(), and pageSizes.
Referenced by SparcISA::TLB::insert(), SparcISA::TLB::lookup(), and sizeMask().
|
inline |
Definition at line 161 of file pagetable.hh.
References size().
Referenced by paddrMask(), and translate().
Definition at line 175 of file pagetable.hh.
References ArmISA::mask, paddr(), populated, and sizeMask().
Referenced by SparcISA::TLB::translateData(), SparcISA::TLB::translateInst(), and SparcISA::vtophys().
|
inline |
Definition at line 151 of file pagetable.hh.
References bits(), entry4u, and populated.
Referenced by SparcISA::TLB::insert().
|
inline |
Definition at line 169 of file pagetable.hh.
References bits(), entry4u, and populated.
Referenced by SparcISA::TLB::translateData().
|
private |
Definition at line 82 of file pagetable.hh.
Referenced by PageTableEntry(), and populate().
|
private |
Definition at line 84 of file pagetable.hh.
Referenced by _size(), cp(), cv(), ie(), locked(), nofault(), operator()(), operator=(), paddr(), pfn(), populate(), priv(), sideffect(), valid(), and writable().
|
static |
Definition at line 130 of file pagetable.hh.
Referenced by size().
|
private |
Definition at line 85 of file pagetable.hh.
Referenced by _size(), clear(), cp(), cv(), locked(), nofault(), operator()(), operator=(), paddr(), paddrMask(), pfn(), populate(), priv(), sideffect(), translate(), valid(), and writable().
|
private |
Definition at line 83 of file pagetable.hh.
Referenced by operator=(), PageTableEntry(), and populate().