gem5  v22.1.0.0
Public Member Functions | Public Attributes | List of all members
gem5::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 43 of file pagetable.hh.

Member Function Documentation

◆ serialize()

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

Definition at line 41 of file pagetable.cc.

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

◆ unserialize()

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

Definition at line 60 of file pagetable.cc.

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

◆ Valid()

bool gem5::MipsISA::PTE::Valid ( )
inline

Definition at line 71 of file pagetable.hh.

References V0, and V1.

Member Data Documentation

◆ AddrShiftAmount

int gem5::MipsISA::PTE::AddrShiftAmount

Definition at line 68 of file pagetable.hh.

Referenced by serialize(), and unserialize().

◆ asid

uint8_t gem5::MipsISA::PTE::asid

Definition at line 47 of file pagetable.hh.

Referenced by serialize(), and unserialize().

◆ C0

uint8_t gem5::MipsISA::PTE::C0

Definition at line 55 of file pagetable.hh.

Referenced by serialize(), and unserialize().

◆ C1

uint8_t gem5::MipsISA::PTE::C1

Definition at line 61 of file pagetable.hh.

Referenced by serialize(), and unserialize().

◆ D0

bool gem5::MipsISA::PTE::D0

Definition at line 53 of file pagetable.hh.

Referenced by serialize(), and unserialize().

◆ D1

bool gem5::MipsISA::PTE::D1

Definition at line 59 of file pagetable.hh.

Referenced by serialize(), and unserialize().

◆ G

bool gem5::MipsISA::PTE::G

Definition at line 49 of file pagetable.hh.

Referenced by serialize(), and unserialize().

◆ Mask

Addr gem5::MipsISA::PTE::Mask

Definition at line 45 of file pagetable.hh.

Referenced by serialize(), and unserialize().

◆ OffsetMask

int gem5::MipsISA::PTE::OffsetMask

Definition at line 69 of file pagetable.hh.

Referenced by serialize(), and unserialize().

◆ PFN0

Addr gem5::MipsISA::PTE::PFN0

Definition at line 52 of file pagetable.hh.

Referenced by serialize(), and unserialize().

◆ PFN1

Addr gem5::MipsISA::PTE::PFN1

Definition at line 58 of file pagetable.hh.

Referenced by serialize(), and unserialize().

◆ V0

bool gem5::MipsISA::PTE::V0

Definition at line 54 of file pagetable.hh.

Referenced by serialize(), unserialize(), and Valid().

◆ V1

bool gem5::MipsISA::PTE::V1

Definition at line 60 of file pagetable.hh.

Referenced by serialize(), unserialize(), and Valid().

◆ VPN

Addr gem5::MipsISA::PTE::VPN

Definition at line 46 of file pagetable.hh.

Referenced by serialize(), and unserialize().


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

Generated on Wed Dec 21 2022 10:24:17 for gem5 by doxygen 1.9.1