summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/system.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h
index def3122205..172fe05b6e 100644
--- a/firmware/export/system.h
+++ b/firmware/export/system.h
@@ -31,7 +31,13 @@ extern void system_reboot (void);
31/* Called from any UIE handler and panicf - wait for a key and return 31/* Called from any UIE handler and panicf - wait for a key and return
32 * to reboot system. */ 32 * to reboot system. */
33extern void system_exception_wait(void); 33extern void system_exception_wait(void);
34
35#if NUM_CORES == 1
36extern void system_init(void) INIT_ATTR;
37#else
38/* TODO: probably safe to use INIT_ATTR on multicore but this needs checking */
34extern void system_init(void); 39extern void system_init(void);
40#endif
35 41
36extern long cpu_frequency; 42extern long cpu_frequency;
37 43