OpenAMP Library
Macros | Typedefs | Functions
rsc_table_parser.h File Reference
#include <openamp/remoteproc.h>

Go to the source code of this file.

Macros

#define RSC_TAB_SUPPORTED_VERSION   1
 

Typedefs

typedef int(* rsc_handler) (struct remoteproc *rproc, void *rsc)
 

Functions

int handle_rsc_table (struct remoteproc *rproc, struct resource_table *rsc_table, size_t len, struct metal_io_region *io)
 
int handle_carve_out_rsc (struct remoteproc *rproc, void *rsc)
 
int handle_trace_rsc (struct remoteproc *rproc, void *rsc)
 
int handle_vdev_rsc (struct remoteproc *rproc, void *rsc)
 
int handle_vendor_rsc (struct remoteproc *rproc, void *rsc)
 
size_t find_rsc (void *rsc_table, unsigned int rsc_type, unsigned int index)
 

Macro Definition Documentation

◆ RSC_TAB_SUPPORTED_VERSION

#define RSC_TAB_SUPPORTED_VERSION   1

Typedef Documentation

◆ rsc_handler

typedef int(* rsc_handler) (struct remoteproc *rproc, void *rsc)

Function Documentation

◆ find_rsc()

size_t find_rsc ( void *  rsc_table,
unsigned int  rsc_type,
unsigned int  index 
)

◆ handle_carve_out_rsc()

int handle_carve_out_rsc ( struct remoteproc rproc,
void *  rsc 
)

◆ handle_rsc_table()

int handle_rsc_table ( struct remoteproc rproc,
struct resource_table rsc_table,
size_t  len,
struct metal_io_region *  io 
)

◆ handle_trace_rsc()

int handle_trace_rsc ( struct remoteproc rproc,
void *  rsc 
)

◆ handle_vdev_rsc()

int handle_vdev_rsc ( struct remoteproc rproc,
void *  rsc 
)

◆ handle_vendor_rsc()

int handle_vendor_rsc ( struct remoteproc rproc,
void *  rsc 
)