@ -53,6 +53,8 @@
extern void shutdown_privileged(void);
int main(void) {
random_delays_init();
#ifdef RDI
rdi_start();
#endif
@ -44,10 +44,6 @@ reset_handler:
ldr r1, = __stack_chk_guard
str r0, [r1]
bl random_delays_init
// re-enable exceptions
// according to "ARM Cortex-M Programming Guide to Memory Barrier Instructions" Application Note 321, section 4.7:
// "If it is not necessary to ensure that a pended interrupt is recognized immediately before