gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
MipsISA::PTE Struct Reference

#include <pagetable.hh>

Public Member Functions

bool Valid ()
 
void serialize (CheckpointOut &cp) const
 
void unserialize (CheckpointIn &cp)
 

Public Attributes

Addr Mask
 
Addr VPN
 
uint8_t asid
 
bool G
 
Addr PFN0
 
bool D0
 
bool V0
 
uint8_t C0
 
Addr PFN1
 
bool D1
 
bool V1
 
uint8_t C1
 
int AddrShiftAmount
 
int OffsetMask
 

Detailed Description

Definition at line 40 of file pagetable.hh.

Member Function Documentation

◆ serialize()

void MipsISA::PTE::serialize ( CheckpointOut cp) const

Definition at line 38 of file pagetable.cc.

References AddrShiftAmount, asid, C0, C1, D0, D1, G, Mask, OffsetMask, PFN0, PFN1, SERIALIZE_SCALAR, V0, V1, and VPN.

Referenced by MipsISA::TLB::serialize().

◆ unserialize()

void MipsISA::PTE::unserialize ( CheckpointIn cp)

Definition at line 57 of file pagetable.cc.

References AddrShiftAmount, asid, C0, C1, D0, D1, G, Mask, OffsetMask, PFN0, PFN1, UNSERIALIZE_SCALAR, V0, V1, and VPN.

Referenced by MipsISA::TLB::unserialize().

◆ Valid()

bool MipsISA::PTE::Valid ( )
inline

Definition at line 68 of file pagetable.hh.

References V0, and V1.

Member Data Documentation

◆ AddrShiftAmount

int MipsISA::PTE::AddrShiftAmount

Definition at line 65 of file pagetable.hh.

Referenced by serialize(), and unserialize().

◆ asid

uint8_t MipsISA::PTE::asid

◆ C0

uint8_t MipsISA::PTE::C0

Definition at line 52 of file pagetable.hh.

Referenced by MipsISA::TLB::insertAt(), serialize(), and unserialize().

◆ C1

uint8_t MipsISA::PTE::C1

Definition at line 58 of file pagetable.hh.

Referenced by MipsISA::TLB::insertAt(), serialize(), and unserialize().

◆ D0

bool MipsISA::PTE::D0

Definition at line 50 of file pagetable.hh.

Referenced by MipsISA::TLB::insertAt(), serialize(), and unserialize().

◆ D1

bool MipsISA::PTE::D1

Definition at line 56 of file pagetable.hh.

Referenced by MipsISA::TLB::insertAt(), serialize(), and unserialize().

◆ G

bool MipsISA::PTE::G

◆ Mask

Addr MipsISA::PTE::Mask

◆ OffsetMask

int MipsISA::PTE::OffsetMask

Definition at line 66 of file pagetable.hh.

Referenced by serialize(), and unserialize().

◆ PFN0

Addr MipsISA::PTE::PFN0

Definition at line 49 of file pagetable.hh.

Referenced by MipsISA::TLB::insertAt(), serialize(), and unserialize().

◆ PFN1

Addr MipsISA::PTE::PFN1

Definition at line 55 of file pagetable.hh.

Referenced by MipsISA::TLB::insertAt(), MipsISA::TLB::lookup(), serialize(), and unserialize().

◆ V0

bool MipsISA::PTE::V0

Definition at line 51 of file pagetable.hh.

Referenced by MipsISA::TLB::insertAt(), serialize(), unserialize(), and Valid().

◆ V1

bool MipsISA::PTE::V1

Definition at line 57 of file pagetable.hh.

Referenced by MipsISA::TLB::insertAt(), serialize(), unserialize(), and Valid().

◆ VPN

Addr MipsISA::PTE::VPN

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

Generated on Wed Sep 30 2020 14:03:07 for gem5 by doxygen 1.8.17