User-defined image store operations. More...
#include <remoteproc_loader.h>
Data Fields | |
| int(* | open )(void *store, const char *path, const void **img_data) |
| User-defined callback to open the "firmware" to prepare loading. More... | |
| void(* | close )(void *store) |
| User-defined callback to close the "firmware" to clean up after loading. More... | |
| int(* | load )(void *store, size_t offset, size_t size, const void **data, metal_phys_addr_t pa, struct metal_io_region *io, char is_blocking) |
| User-defined callback to load the firmware contents to target memory or local memory. More... | |
| unsigned int | features |
| Loader supported features. More... | |
User-defined image store operations.
| void(* image_store_ops::close) (void *store) |
User-defined callback to close the "firmware" to clean up after loading.
| unsigned int image_store_ops::features |
Loader supported features.
e.g. seek
| int(* image_store_ops::load) (void *store, size_t offset, size_t size, const void **data, metal_phys_addr_t pa, struct metal_io_region *io, char is_blocking) |
User-defined callback to load the firmware contents to target memory or local memory.
| int(* image_store_ops::open) (void *store, const char *path, const void **img_data) |
User-defined callback to open the "firmware" to prepare loading.