|
ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
|
#include <DMMUWrapper.h>


Public Member Functions | |
| DMMUWrapper (std::shared_ptr< MMU > mmu) | |
| virtual | ~DMMUWrapper () |
| ETISS_System * | wrap (ETISS_CPU *cpu, ETISS_System *system) |
| SystemWrapperPlugin interface to wrap around original ETISS_System. | |
| ETISS_System * | unwrap (ETISS_CPU *cpu, ETISS_System *system) |
| SystemWrapperPlugin interface to unwrap original ETISS_System. | |
Public Member Functions inherited from etiss::SystemWrapperPlugin | |
| SystemWrapperPlugin () | |
| virtual | ~SystemWrapperPlugin () |
Public Member Functions inherited from etiss::Plugin | |
| virtual | ~Plugin () |
| unsigned | getType () |
| InterruptListenerPlugin * | getInterruptListenerPlugin () |
| CoroutinePlugin * | getCoroutinePlugin () |
| SystemWrapperPlugin * | getSystemWrapperPlugin () |
| RegisterDevicePlugin * | getRegisterDevicePlugin () |
| TranslationPlugin * | getTranslationPlugin () |
| std::string | getPluginName () const |
| const std::string & | getLastAssignedCoreName () |
| std::string | toString () const |
Public Member Functions inherited from etiss::ToString | |
| ToString () | |
| virtual | ~ToString () |
Public Attributes | |
| std::shared_ptr< MMU > | mmu_ |
Protected Member Functions | |
| std::string | _getPluginName () const |
Protected Member Functions inherited from etiss::Plugin | |
| Plugin (unsigned type=0) | |
| virtual void | init (ETISS_CPU *cpu, ETISS_System *system, CPUArch *arch) |
| this function is called before the plugin is used in the cpu execution loop (etiss::CPUCore::execute). | |
| virtual void | cleanup () |
| this function is called after cpu execution loop (etiss::CPUCore::execute) finished. | |
| void | setCorrespondingCPUCoreName (std::string name) |
| virtual void | addedToCPUCore (etiss::CPUCore *core) |
| called as soon a plugin has been added to its CPUCore. | |
| virtual void | removedFromCPUCore (etiss::CPUCore *core) |
| called as soon a plugin has been removed from its CPUCore. | |
Additional Inherited Members | |
Static Public Attributes inherited from etiss::Plugin | |
| static const unsigned | INTERRUPTLISTENER = 1 << 0 |
| access to translated code | |
| static const unsigned | COROUTINE = 1 << 1 |
| callback after execution of each translated block | |
| static const unsigned | SYSTEMWRAPPER = 1 << 2 |
| can wrap/change ETISS_System structure at execution start | |
| static const unsigned | REGISTERDEVICE |
| gets noticed of changes to special registers (e.g. mmu register etc. [depends on architecture]) | |
| static const unsigned | TRANSLATION |
| access to translated code during translation phase or when instruction tree is built | |
Protected Attributes inherited from etiss::Plugin | |
| ETISS_CPU * | plugin_cpu_ |
| holds a pointer to the cpu structure. will be set before init call and after cleanup call | |
| ETISS_System * | plugin_system_ |
| holds a pointer to the system structure. | |
| CPUArch * | plugin_arch_ |
| holds a pointer to the CPUArch instance. will be set before init call and after cleanup call | |
| CPUCore * | plugin_core_ |
| holds a pointer to the associated CPUCore instance. | |
Definition at line 27 of file DMMUWrapper.h.
|
explicit |
Definition at line 137 of file DMMUWrapper.cpp.
|
inlinevirtual |
Definition at line 33 of file DMMUWrapper.h.
|
protectedvirtual |
|
virtual |
SystemWrapperPlugin interface to unwrap original ETISS_System.
Implements etiss::SystemWrapperPlugin.
Definition at line 167 of file DMMUWrapper.cpp.
|
virtual |
SystemWrapperPlugin interface to wrap around original ETISS_System.
Implements etiss::SystemWrapperPlugin.
Definition at line 142 of file DMMUWrapper.cpp.
References etiss::mm::dbg_read(), ETISS_System::dbg_read, etiss::mm::dbg_write(), ETISS_System::dbg_write, etiss::mm::dread(), ETISS_System::dread, etiss::mm::dwrite(), ETISS_System::dwrite, ETISS_System::handle, etiss::mm::iread(), ETISS_System::iread, etiss::mm::iwrite(), ETISS_System::iwrite, mmu_, etiss::mm::DMMUWrapperSystem::orig, etiss::mm::syncTime(), ETISS_System::syncTime, etiss::mm::DMMUWrapperSystem::sys, and etiss::mm::DMMUWrapperSystem::this_.

| std::shared_ptr<MMU> etiss::mm::DMMUWrapper::mmu_ |
Definition at line 45 of file DMMUWrapper.h.
Referenced by _getPluginName(), and wrap().