3 #ifndef ETISS_PLUGIN_MEMMAPPEDPERIPH_H
4 #define ETISS_PLUGIN_MEMMAPPEDPERIPH_H
SystemWrapperPlugin to redirect data reads and writes to custom callbacks.
CustomHandle customHandle_
virtual etiss_uint8 read8(etiss_uint64 addr)
virtual void write64(etiss_uint64 addr, etiss_uint64 val)
virtual void write16(etiss_uint64 addr, etiss_uint16 val)
virtual MappedMemory getMappedMem() const =0
Defines in which memory region to map this peripheral.
virtual etiss_uint16 read16(etiss_uint64 addr)
virtual void write8(etiss_uint64 addr, etiss_uint8 val)
virtual etiss_uint64 read64(etiss_uint64 addr)
virtual etiss_uint32 read32(etiss_uint64 addr)
virtual void write32(etiss_uint64 addr, etiss_uint32 val)
ETISS_System getWrapInfo(ETISS_System *origSystem) final
Defines which System functions to wrap.
SystemWrapperPlugin that only wraps some of the System calls.
static void unimpl_write()
static etiss_uint8 unimpl_read()
Page Table Entry (PTE) defines the composition of Page Frame Number (PFN) and relavant flags.
void log(Verbosity level, std::string msg)
write log message at the given level.
__UINTPTR_TYPE__ uintptr_t
An unsigned integer type with the property that any valid pointer to void can be converted to this ty...
memory access and time synchronization functions.
Represents a memory region that is associated with a MemMappedPeriph.