gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
AlphaISA::TlbEntry Struct Reference

#include <pagetable.hh>

Inheritance diagram for AlphaISA::TlbEntry:
Serializable

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
 

Detailed Description

Definition at line 93 of file pagetable.hh.

Constructor & Destructor Documentation

AlphaISA::TlbEntry::TlbEntry ( Addr  _asn,
Addr  _vaddr,
Addr  _paddr,
bool  uncacheable,
bool  read_only 
)
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.

AlphaISA::TlbEntry::TlbEntry ( )
inline

Definition at line 126 of file pagetable.hh.

Member Function Documentation

Addr AlphaISA::TlbEntry::pageStart ( )
inline

Definition at line 140 of file pagetable.hh.

References AlphaISA::PageShift, and ppn.

void TlbEntry::serialize ( CheckpointOut cp) const
overridevirtual

Serialize an object.

Output an object's state into the current checkpoint section.

Parameters
cpCheckpoint state

Implements Serializable.

Definition at line 38 of file pagetable.cc.

References asma, asn, fonr, fonw, ppn, SERIALIZE_SCALAR, tag, valid, xre, and xwe.

void TlbEntry::unserialize ( CheckpointIn cp)
overridevirtual

Unserialize an object.

Read an object's state from the current checkpoint section.

Parameters
cpCheckpoint state

Implements Serializable.

Definition at line 52 of file pagetable.cc.

References asma, asn, fonr, fonw, ppn, tag, UNSERIALIZE_SCALAR, valid, xre, and xwe.

void AlphaISA::TlbEntry::updateVaddr ( Addr  new_vaddr)
inline

Definition at line 133 of file pagetable.hh.

References tag, X86ISA::vaddr, and AlphaISA::VAddr::vpn().

Member Data Documentation

bool AlphaISA::TlbEntry::asma
uint8_t AlphaISA::TlbEntry::asn
bool AlphaISA::TlbEntry::fonr
bool AlphaISA::TlbEntry::fonw
Addr AlphaISA::TlbEntry::ppn
Addr AlphaISA::TlbEntry::tag
bool AlphaISA::TlbEntry::valid
uint8_t AlphaISA::TlbEntry::xre
uint8_t AlphaISA::TlbEntry::xwe

The documentation for this struct was generated from the following files:

Generated on Fri Jun 9 2017 13:04:24 for gem5 by doxygen 1.8.6