OpenAMP Library  353
rsc_table_parser.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014, Mentor Graphics Corporation
3  * All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 #ifndef RSC_TABLE_PARSER_H
9 #define RSC_TABLE_PARSER_H
10 
11 #include <openamp/remoteproc.h>
12 
13 #if defined __cplusplus
14 extern "C" {
15 #endif
16 
31 int handle_rsc_table(struct remoteproc *rproc,
32  struct resource_table *rsc_table, size_t len,
33  struct metal_io_region *io);
34 
46 size_t find_rsc(void *rsc_table, unsigned int rsc_type, unsigned int index);
47 
48 #if defined __cplusplus
49 }
50 #endif
51 
52 #endif /* RSC_TABLE_PARSER_H */
int handle_rsc_table(struct remoteproc *rproc, struct resource_table *rsc_table, size_t len, struct metal_io_region *io)
Definition: rsc_table_parser.c:158
size_t find_rsc(void *rsc_table, unsigned int rsc_type, unsigned int index)
Definition: rsc_table_parser.c:214
A remote processor instance.
Definition: remoteproc.h:396
Resource table header.
Definition: remoteproc.h:51