ParaNut SystemC Model
A SystemC Model of the ParaNut architecture
Public Member Functions | Public Attributes | Friends | List of all members
SPte Struct Reference

#include <ptw.h>

Public Member Functions

sc_uint< 32 > page_frame ()
 
sc_uint< 20 > page_frame_number ()
 
sc_uint< 32 > table_pointer ()
 
 operator sc_uint< 32 > ()
 
bool is_invalid ()
 
bool is_misaligned_superpage ()
 
bool is_aligned_superpage ()
 
bool is_leaf_pte ()
 
SPte operator= (const sc_uint< 32 > &data)
 
bool operator== (const SPte &t) const
 

Public Attributes

sc_uint< 12 > ppn1
 
sc_uint< 10 > ppn0
 
sc_uint< 2 > reserved_for_software
 
bool v
 
bool g
 
bool r
 
bool w
 
bool u
 
bool x
 
bool a
 
bool d
 

Friends

ostream & operator<< (ostream &os, const SPte &t)
 
void sc_trace (sc_trace_file *tf, const SPte &t, const std::string &name)
 

Member Function Documentation

◆ is_aligned_superpage()

bool SPte::is_aligned_superpage ( )
inline

◆ is_invalid()

bool SPte::is_invalid ( )
inline

◆ is_leaf_pte()

bool SPte::is_leaf_pte ( )
inline

◆ is_misaligned_superpage()

bool SPte::is_misaligned_superpage ( )
inline

◆ operator sc_uint< 32 >()

SPte::operator sc_uint< 32 > ( )
inline

◆ operator=()

SPte SPte::operator= ( const sc_uint< 32 > &  data)
inline

◆ operator==()

bool SPte::operator== ( const SPte t) const
inline

◆ page_frame()

sc_uint<32> SPte::page_frame ( )
inline

◆ page_frame_number()

sc_uint<20> SPte::page_frame_number ( )
inline

◆ table_pointer()

sc_uint<32> SPte::table_pointer ( )
inline

Friends And Related Function Documentation

◆ operator<<

ostream& operator<< ( ostream &  os,
const SPte t 
)
friend

◆ sc_trace

void sc_trace ( sc_trace_file *  tf,
const SPte t,
const std::string &  name 
)
friend

Member Data Documentation

◆ a

bool SPte::a

◆ d

bool SPte::d

◆ g

bool SPte::g

◆ ppn0

sc_uint<10> SPte::ppn0

◆ ppn1

sc_uint<12> SPte::ppn1

◆ r

bool SPte::r

◆ reserved_for_software

sc_uint<2> SPte::reserved_for_software

◆ u

bool SPte::u

◆ v

bool SPte::v

◆ w

bool SPte::w

◆ x

bool SPte::x

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