summaryrefslogtreecommitdiff
path: root/middleware/multicore/open-amp/porting/config/config.h
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2016-05-02 19:13:19 -0700
committerStefan Agner <stefan@agner.ch>2016-05-09 17:17:05 -0700
commit21d6d84123de8e6e2ebdf5543b530403951b3059 (patch)
tree046a7fa39e1c7cff49792ac67f1ae899271a56b7 /middleware/multicore/open-amp/porting/config/config.h
parent2fb8ccd4adf6433033a402e2fa07c2f11c489518 (diff)
resync with FreeRTOS_BSP_1.0.1_iMX7D
Diffstat (limited to 'middleware/multicore/open-amp/porting/config/config.h')
-rw-r--r--middleware/multicore/open-amp/porting/config/config.h10
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