|
gem5
v19.0.0.0
|
#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 () |
| int | size () |
| 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 | paddr |
| Addr | vaddr |
| unsigned | logBytes |
| bool | writable |
| bool | user |
| bool | uncacheable |
| bool | global |
| bool | patBit |
| bool | noExec |
| uint64_t | lruSeq |
| TlbEntryTrie::Handle | trieHandle |
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 66 of file pagetable.hh.
Definition at line 57 of file pagetable.cc.
| X86ISA::TlbEntry::TlbEntry | ( | ) |
Definition at line 50 of file pagetable.cc.
|
inline |
Definition at line 107 of file pagetable.hh.
References paddr.
|
overridevirtual |
Serialize an object.
Output an object's state into the current checkpoint section.
| cp | Checkpoint state |
Implements Serializable.
Definition at line 65 of file pagetable.cc.
References global, logBytes, lruSeq, noExec, paddr, patBit, SERIALIZE_SCALAR, uncacheable, user, vaddr, and writable.
Referenced by size().
|
inline |
Definition at line 113 of file pagetable.hh.
References X86ISA::BitUnion64(), serialize(), and unserialize().
Referenced by X86ISA::GpuTLB::handleFuncTranslationReturn(), X86ISA::GpuTLB::handleTranslationReturn(), X86ISA::GpuTLB::issueTLBLookup(), and X86ISA::GpuTLB::translate().
|
overridevirtual |
Unserialize an object.
Read an object's state from the current checkpoint section.
| cp | Checkpoint state |
Implements Serializable.
Definition at line 80 of file pagetable.cc.
References global, logBytes, lruSeq, noExec, paddr, patBit, uncacheable, UNSERIALIZE_SCALAR, user, vaddr, and writable.
Referenced by size().
|
inline |
Definition at line 102 of file pagetable.hh.
| bool X86ISA::TlbEntry::global |
Definition at line 87 of file pagetable.hh.
Referenced by serialize(), and unserialize().
| unsigned X86ISA::TlbEntry::logBytes |
Definition at line 74 of file pagetable.hh.
Referenced by X86ISA::TLB::insert(), serialize(), X86ISA::TLB::translate(), unserialize(), and X86ISA::TLB::unserialize().
| uint64_t X86ISA::TlbEntry::lruSeq |
Definition at line 93 of file pagetable.hh.
Referenced by X86ISA::TLB::insert(), X86ISA::TLB::lookup(), serialize(), and unserialize().
| bool X86ISA::TlbEntry::noExec |
Definition at line 91 of file pagetable.hh.
Referenced by serialize(), and unserialize().
| Addr X86ISA::TlbEntry::paddr |
Definition at line 69 of file pagetable.hh.
Referenced by X86ISA::GpuTLB::handleFuncTranslationReturn(), X86ISA::GpuTLB::handleTranslationReturn(), X86ISA::GpuTLB::issueTLBLookup(), pageStart(), X86ISA::GpuTLB::CpuSidePort::recvFunctional(), X86ISA::LongModePTE::reset(), serialize(), X86ISA::TLB::translate(), X86ISA::GpuTLB::translate(), and unserialize().
| bool X86ISA::TlbEntry::patBit |
Definition at line 89 of file pagetable.hh.
Referenced by serialize(), and unserialize().
| TlbEntryTrie::Handle X86ISA::TlbEntry::trieHandle |
Definition at line 95 of file pagetable.hh.
Referenced by X86ISA::TLB::demapPage(), X86ISA::TLB::insert(), and X86ISA::TLB::unserialize().
| bool X86ISA::TlbEntry::uncacheable |
Definition at line 85 of file pagetable.hh.
Referenced by X86ISA::GpuTLB::handleFuncTranslationReturn(), X86ISA::GpuTLB::handleTranslationReturn(), X86ISA::LongModePTE::reset(), serialize(), X86ISA::TLB::translate(), X86ISA::GpuTLB::translate(), and unserialize().
| bool X86ISA::TlbEntry::user |
Definition at line 80 of file pagetable.hh.
Referenced by X86ISA::GpuTLB::pagingProtectionChecks(), serialize(), X86ISA::TLB::translate(), X86ISA::GpuTLB::translate(), and unserialize().
| Addr X86ISA::TlbEntry::vaddr |
Definition at line 72 of file pagetable.hh.
Referenced by X86ISA::GpuTLB::handleFuncTranslationReturn(), X86ISA::GpuTLB::handleTranslationReturn(), X86ISA::TLB::insert(), X86ISA::GpuTLB::insert(), X86ISA::GpuTLB::issueTLBLookup(), X86ISA::GpuTLB::CpuSidePort::recvFunctional(), serialize(), unserialize(), and X86ISA::TLB::unserialize().
| bool X86ISA::TlbEntry::writable |
Definition at line 78 of file pagetable.hh.
Referenced by X86ISA::GpuTLB::pagingProtectionChecks(), serialize(), X86ISA::TLB::translate(), X86ISA::GpuTLB::translate(), and unserialize().