OpenAMP Library
Data Fields
image_store_ops Struct Reference

#include <remoteproc_loader.h>

Data Fields

int(* open )(void *store, const char *path, const void **img_data)
 
void(* close )(void *store)
 
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)
 
unsigned int features
 

Detailed Description

struct image_store_ops - user defined image store operations @open: user defined callback to open the "firmware" to prepare loading @close: user defined callback to close the "firmware" to clean up after loading @load: user defined callback to load the firmware contents to target memory or local memory @features: loader supported features. e.g. seek

Field Documentation

◆ close

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

◆ features

unsigned int image_store_ops::features

◆ 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)

◆ open

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

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