|
@@ -40,10 +40,8 @@ reset.handler: @ Cortex M4 boots with interrupts enabled, in Thread mode
|
|
|
@--- Software must use an ISB barrier instruction to ensure a write to the CONTROL register
|
|
|
@ takes effect before the next instruction is executed.
|
|
|
isb
|
|
|
-@---------------------------------- Run init routines, interrupt disabled
|
|
|
- cpsid i @ Disable interrupts
|
|
|
- bl start.phase2
|
|
|
- cpsie i @ Enable interrupts
|
|
|
+@---------------------------------- Run init routines, from SVC handler
|
|
|
+ svc #0
|
|
|
@---------------------------------- Run setup, loop
|
|
|
bl setup.function
|
|
|
background.task:
|