gem5
|
#include <pagetable.hh>
Public Member Functions | |
TlbEntry (Addr _asn, Addr _vaddr, Addr _paddr, bool uncacheable, bool read_only) | |
TlbEntry () | |
void | updateVaddr (Addr new_vaddr) |
Addr | pageStart () |
void | serialize (CheckpointOut &cp) const override |
Serialize an object. More... | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. More... | |
Public Member Functions inherited from Serializable | |
Serializable () | |
virtual | ~Serializable () |
void | serializeSection (CheckpointOut &cp, const char *name) const |
Serialize an object into a new section. More... | |
void | serializeSection (CheckpointOut &cp, const std::string &name) const |
void | unserializeSection (CheckpointIn &cp, const char *name) |
Unserialize an a child object. More... | |
void | unserializeSection (CheckpointIn &cp, const std::string &name) |
Public Attributes | |
Addr | tag |
Addr | ppn |
uint8_t | xre |
uint8_t | xwe |
uint8_t | asn |
bool | asma |
bool | fonr |
bool | fonw |
bool | valid |
Additional Inherited Members | |
Static Public Member Functions inherited from Serializable | |
static const std::string & | currentSection () |
Get the fully-qualified name of the active section. More... | |
static void | serializeAll (const std::string &cpt_dir) |
static void | unserializeGlobals (CheckpointIn &cp) |
Static Public Attributes inherited from Serializable | |
static int | ckptCount = 0 |
static int | ckptMaxCount = 0 |
static int | ckptPrevCount = -1 |
Definition at line 93 of file pagetable.hh.
|
inline |
Definition at line 107 of file pagetable.hh.
References asma, asn, fonr, fonw, ppn, tag, X86ISA::vaddr, valid, AlphaISA::VAddr::vpn(), warn, xre, and xwe.
|
inline |
Definition at line 126 of file pagetable.hh.
|
inline |
Definition at line 140 of file pagetable.hh.
References AlphaISA::PageShift, and ppn.
|
overridevirtual |
Serialize an object.
Output an object's state into the current checkpoint section.
cp | Checkpoint state |
Implements Serializable.
Definition at line 38 of file pagetable.cc.
References asma, asn, fonr, fonw, ppn, SERIALIZE_SCALAR, tag, valid, xre, and xwe.
|
overridevirtual |
Unserialize an object.
Read an object's state from the current checkpoint section.
cp | Checkpoint state |
Implements Serializable.
Definition at line 52 of file pagetable.cc.
References asma, asn, fonr, fonw, ppn, tag, UNSERIALIZE_SCALAR, valid, xre, and xwe.
|
inline |
Definition at line 133 of file pagetable.hh.
References tag, X86ISA::vaddr, and AlphaISA::VAddr::vpn().
bool AlphaISA::TlbEntry::asma |
Definition at line 100 of file pagetable.hh.
Referenced by AlphaISA::TLB::flushAddr(), AlphaISA::TLB::flushProcesses(), AlphaISA::TLB::lookup(), AlphaISA::ISA::readIpr(), serialize(), AlphaISA::ISA::setIpr(), TlbEntry(), and unserialize().
uint8_t AlphaISA::TlbEntry::asn |
Definition at line 99 of file pagetable.hh.
Referenced by AlphaISA::TLB::flushAddr(), AlphaISA::TLB::lookup(), AlphaISA::ISA::readIpr(), serialize(), AlphaISA::ISA::setIpr(), TlbEntry(), and unserialize().
bool AlphaISA::TlbEntry::fonr |
Definition at line 101 of file pagetable.hh.
Referenced by AlphaISA::ISA::readIpr(), serialize(), AlphaISA::ISA::setIpr(), TlbEntry(), and unserialize().
bool AlphaISA::TlbEntry::fonw |
Definition at line 102 of file pagetable.hh.
Referenced by AlphaISA::ISA::readIpr(), serialize(), AlphaISA::ISA::setIpr(), TlbEntry(), and unserialize().
Addr AlphaISA::TlbEntry::ppn |
Definition at line 96 of file pagetable.hh.
Referenced by AlphaISA::TLB::flushAddr(), AlphaISA::TLB::flushProcesses(), AlphaISA::TLB::insert(), AlphaISA::TLB::lookup(), pageStart(), AlphaISA::ISA::readIpr(), serialize(), AlphaISA::ISA::setIpr(), TlbEntry(), and unserialize().
Addr AlphaISA::TlbEntry::tag |
Definition at line 95 of file pagetable.hh.
Referenced by AlphaISA::TLB::flushAddr(), AlphaISA::TLB::flushProcesses(), AlphaISA::TLB::insert(), AlphaISA::TLB::lookup(), serialize(), TlbEntry(), unserialize(), and updateVaddr().
bool AlphaISA::TlbEntry::valid |
Definition at line 103 of file pagetable.hh.
Referenced by AlphaISA::TLB::flushAddr(), AlphaISA::TLB::flushProcesses(), AlphaISA::TLB::lookup(), serialize(), TlbEntry(), and unserialize().
uint8_t AlphaISA::TlbEntry::xre |
Definition at line 97 of file pagetable.hh.
Referenced by AlphaISA::ISA::readIpr(), serialize(), AlphaISA::ISA::setIpr(), TlbEntry(), and unserialize().
uint8_t AlphaISA::TlbEntry::xwe |
Definition at line 98 of file pagetable.hh.
Referenced by AlphaISA::ISA::readIpr(), serialize(), AlphaISA::ISA::setIpr(), TlbEntry(), and unserialize().