diff options
Diffstat (limited to 'middleware/multicore/open-amp/porting/config/config.h')
-rw-r--r-- | middleware/multicore/open-amp/porting/config/config.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/middleware/multicore/open-amp/porting/config/config.h b/middleware/multicore/open-amp/porting/config/config.h index 23bc36f..6bba03e 100644 --- a/middleware/multicore/open-amp/porting/config/config.h +++ b/middleware/multicore/open-amp/porting/config/config.h @@ -33,8 +33,10 @@ #include "../env/env.h" /* Max supprted ISR counts */ -#define ISR_COUNT 2 +#define ISR_COUNT 4 +/* Max supported firmwares */ +#define FW_COUNT 4 /** * Structure to keep track of registered ISR's. */ @@ -46,6 +48,12 @@ struct isr_info { void (*isr)(int vector, void *data); }; +struct firmware_info { + char name[32]; + unsigned int start_addr; + unsigned int end_addr; +}; + int config_get_firmware(char *fw_name, unsigned int *start_addr, unsigned int *size); #endif |