Loader operations. More...
#include <remoteproc_loader.h>
Data Fields | |
| int(* | load_header )(const void *img_data, size_t offset, size_t len, void **img_info, int last_state, size_t *noffset, size_t *nlen) |
| Define how to get the executable headers. More... | |
| int(* | load_data )(struct remoteproc *rproc, const void *img_data, size_t offset, size_t len, void **img_info, int last_load_state, metal_phys_addr_t *da, size_t *noffset, size_t *nlen, unsigned char *padding, size_t *nmemsize) |
| Define how to load the target data. More... | |
| int(* | locate_rsc_table )(void *img_info, metal_phys_addr_t *da, size_t *offset, size_t *size) |
| Define how to get the resource table target address, offset to the ELF image file and size of the resource table. More... | |
| void(* | release )(void *img_info) |
| Define how to release the loader. More... | |
| metal_phys_addr_t(* | get_entry )(void *img_info) |
| Get entry address. More... | |
| int(* | get_load_state )(void *img_info) |
| Get load state from the image information. More... | |
Loader operations.
| metal_phys_addr_t(* loader_ops::get_entry) (void *img_info) |
Get entry address.
| int(* loader_ops::get_load_state) (void *img_info) |
Get load state from the image information.
| int(* loader_ops::load_data) (struct remoteproc *rproc, const void *img_data, size_t offset, size_t len, void **img_info, int last_load_state, metal_phys_addr_t *da, size_t *noffset, size_t *nlen, unsigned char *padding, size_t *nmemsize) |
Define how to load the target data.
| int(* loader_ops::load_header) (const void *img_data, size_t offset, size_t len, void **img_info, int last_state, size_t *noffset, size_t *nlen) |
Define how to get the executable headers.
| int(* loader_ops::locate_rsc_table) (void *img_info, metal_phys_addr_t *da, size_t *offset, size_t *size) |
Define how to get the resource table target address, offset to the ELF image file and size of the resource table.
| void(* loader_ops::release) (void *img_info) |
Define how to release the loader.