OpenAMP Library  353
image_store_ops Struct Reference

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...
 

Detailed Description

User-defined image store operations.

Field Documentation

◆ close

void(* image_store_ops::close) (void *store)

User-defined callback to close the "firmware" to clean up after loading.

◆ features

unsigned int image_store_ops::features

Loader supported features.

e.g. seek

◆ load

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.

◆ open

int(* image_store_ops::open) (void *store, const char *path, const void **img_data)

User-defined callback to open the "firmware" to prepare loading.


The documentation for this struct was generated from the following file: