VSF Documented
|
#include <vsf_loader.h>
Data Fields | |
uintptr_t | object |
bool | support_xip |
uint32_t(* | fn_read )(vsf_loader_target_t *target, uint32_t offset, void *buffer, uint32_t size) |
uintptr_t vsf_loader_target_t::object |
target object, can be fd, pointer, etc.
bool vsf_loader_target_t::support_xip |
whether xip is supported. Whether to use xip is detected in loader. If support_xip is true, target should be the address of the image.
uint32_t(* vsf_loader_target_t::fn_read) (vsf_loader_target_t *target, uint32_t offset, void *buffer, uint32_t size) |
function to read target to memory.
loader | loader instance, cannot be NULL. |
offset | offset in target. |
buffer | memory buffer for the read data. |
size | memory size to read. |