OpenCSD - CoreSight Trace Decode Library
1.3.3
|
Interface class to implement memory accessor callbacks. More...
#include <trc_mem_acc_cb_if.h>
Public Member Functions | |
TrcMemAccCBIF () | |
virtual | ~TrcMemAccCBIF () |
virtual const uint32_t | readBytes (const ocsd_vaddr_t s_address, const ocsd_mem_space_acc_t memSpace, const uint32_t reqBytes, uint8_t *byteBuffer)=0 |
Interface class to implement memory accessor callbacks.
Implement an object with this interface to use in a memory accessor callback type. Callback accesses the memory according to address and memory space. Use for trace decode memory access on live systems, or where the implemented accessor types are not suitable for the memory data being accessed.
Definition at line 50 of file trc_mem_acc_cb_if.h.
|
inline |
Definition at line 53 of file trc_mem_acc_cb_if.h.
|
inlinevirtual |
Definition at line 54 of file trc_mem_acc_cb_if.h.
|
pure virtual |
Read bytes from via the accessor from the memory range.
s_address | : Start address of the read. |
memSpace | : memory space for this access. |
reqBytes | : Number of bytes required. |
*byteBuffer | : Buffer to copy the bytes into. |