ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
Sigleton builder utility to build up customized PTE format. More...
#include <PTEFormatBuilder.h>
Public Member Functions | |
PTEFormatBuilder & | AddPPNBitField (uint32_t begin, uint32_t end) |
Add mandatory bit field, Physical Page Number (PPN), for PTE. More... | |
PTEFormatBuilder & | AddPageOffset (uint32_t begin, uint32_t end) |
Add mandatory bit field for page size offset (Not included in PTE neither in PTE format) More... | |
PTEFormatBuilder & | AddFlag (std::string name, uint32_t begin, uint32_t end) |
Add optional bit field for protection flag in PTE. More... | |
PTEFormatBuilder & | AddFlag (std::string name, uint32_t pos) |
Add optional bit field for protection flag in PTE. More... | |
Static Public Member Functions | |
static PTEFormatBuilder & | Instance () |
Get the singleton instance. More... | |
Private Member Functions | |
PTEFormatBuilder (PTEFormat &format) | |
Private Attributes | |
PTEFormat & | format_ |
Friends | |
class | PTEFormat |
Sigleton builder utility to build up customized PTE format.
Definition at line 62 of file PTEFormatBuilder.h.
|
inlineprivate |
Definition at line 112 of file PTEFormatBuilder.h.
Referenced by Instance().
|
inline |
Add optional bit field for protection flag in PTE.
Definition at line 96 of file PTEFormatBuilder.h.
References etiss::mm::PTEFormat::AddBitField(), and format_.
|
inline |
Add optional bit field for protection flag in PTE.
Definition at line 105 of file PTEFormatBuilder.h.
References etiss::mm::PTEFormat::AddBitField(), and format_.
|
inline |
Add mandatory bit field for page size offset (Not included in PTE neither in PTE format)
Definition at line 87 of file PTEFormatBuilder.h.
References etiss::mm::PTEFormat::AddBitField(), and format_.
|
inline |
Add mandatory bit field, Physical Page Number (PPN), for PTE.
Definition at line 77 of file PTEFormatBuilder.h.
References etiss::mm::PTEFormat::AddBitField(), and format_.
|
inlinestatic |
Get the singleton instance.
Definition at line 68 of file PTEFormatBuilder.h.
References etiss::mm::PTEFormat::Instance(), and PTEFormatBuilder().
|
friend |
Definition at line 116 of file PTEFormatBuilder.h.
|
private |
Definition at line 114 of file PTEFormatBuilder.h.
Referenced by AddFlag(), AddPageOffset(), and AddPPNBitField().