ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
#include <PTEFormat.h>
Public Member Functions | |
void | AddBitField (std::string name, uint32_t begin, uint32_t end) |
Called only by PTEFormatBuilder. More... | |
void | DumpBitFild (std::string name) |
Dump the details of the bit field according to given name. More... | |
void | Dump () |
Dump the details of the whole PTE format. More... | |
uint32_t | GetPTELength () const |
PTEFormatMap & | GetFormatMap () |
Static Public Member Functions | |
static PTEFormat & | Instance () |
Get the singleton instance. More... | |
Private Member Functions | |
PTEFormat () | |
Private Attributes | |
PTEFormatMap | format_map_ |
uint32_t | pte_len_ |
Definition at line 64 of file PTEFormat.h.
|
inlineprivate |
Definition at line 98 of file PTEFormat.h.
Referenced by Instance().
Called only by PTEFormatBuilder.
Definition at line 57 of file PTEFormat.cpp.
References format_map_, and pte_len_.
Referenced by etiss::mm::PTEFormatBuilder::AddFlag(), etiss::mm::PTEFormatBuilder::AddPageOffset(), and etiss::mm::PTEFormatBuilder::AddPPNBitField().
void etiss::mm::PTEFormat::Dump | ( | ) |
Dump the details of the whole PTE format.
Definition at line 81 of file PTEFormat.cpp.
References format_map_.
Referenced by etiss::mm::PTE::ClearFlagByName(), etiss::mm::PTE::GetByName(), etiss::mm::PTE::SetFlagByName(), and etiss::mm::PTE::Update().
void etiss::mm::PTEFormat::DumpBitFild | ( | std::string | name | ) |
Dump the details of the bit field according to given name.
Definition at line 66 of file PTEFormat.cpp.
References format_map_.
Referenced by etiss::mm::PTE::Dump().
|
inline |
Definition at line 95 of file PTEFormat.h.
References format_map_.
Referenced by etiss::mm::PTE::ClearFlagByName(), etiss::mm::PTE::Dump(), etiss::mm::PTE::GetByName(), etiss::mm::PTE::SetFlagByName(), etiss::mm::MMU::Translate(), and etiss::mm::PTE::Update().
|
inline |
Definition at line 93 of file PTEFormat.h.
References pte_len_.
Referenced by etiss::mm::PTE::Dump(), and etiss::mm::PTE::Update().
|
inlinestatic |
Get the singleton instance.
Definition at line 70 of file PTEFormat.h.
References PTEFormat().
Referenced by etiss::mm::PTE::ClearFlagByName(), etiss::mm::PTE::Dump(), etiss::mm::PTE::GetByName(), etiss::mm::PTEFormatBuilder::Instance(), etiss::mm::PTE::SetFlagByName(), etiss::mm::MMU::Translate(), and etiss::mm::PTE::Update().
|
private |
Definition at line 99 of file PTEFormat.h.
Referenced by AddBitField(), Dump(), DumpBitFild(), and GetFormatMap().
|
private |
Definition at line 100 of file PTEFormat.h.
Referenced by AddBitField(), and GetPTELength().