gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
RiscvISA::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 48 of file pagetable.hh.

Member Function Documentation

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

Definition at line 42 of file pagetable.cc.

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

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

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

Definition at line 61 of file pagetable.cc.

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

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

bool RiscvISA::PTE::Valid ( )
inline

Definition at line 76 of file pagetable.hh.

References V0, and V1.

Member Data Documentation

int RiscvISA::PTE::AddrShiftAmount

Definition at line 73 of file pagetable.hh.

Referenced by serialize(), and unserialize().

uint8_t RiscvISA::PTE::asid
uint8_t RiscvISA::PTE::C0

Definition at line 60 of file pagetable.hh.

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

uint8_t RiscvISA::PTE::C1

Definition at line 66 of file pagetable.hh.

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

bool RiscvISA::PTE::D0

Definition at line 58 of file pagetable.hh.

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

bool RiscvISA::PTE::D1

Definition at line 64 of file pagetable.hh.

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

bool RiscvISA::PTE::G
Addr RiscvISA::PTE::Mask
int RiscvISA::PTE::OffsetMask

Definition at line 74 of file pagetable.hh.

Referenced by serialize(), and unserialize().

Addr RiscvISA::PTE::PFN0

Definition at line 57 of file pagetable.hh.

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

Addr RiscvISA::PTE::PFN1
bool RiscvISA::PTE::V0

Definition at line 59 of file pagetable.hh.

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

bool RiscvISA::PTE::V1

Definition at line 65 of file pagetable.hh.

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

Addr RiscvISA::PTE::VPN

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

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