diff options
Diffstat (limited to 'boot.S')
-rw-r--r-- | boot.S | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -20,7 +20,11 @@ _start: and r5, r5, #3 cmp r5, #0 bne halt - + + // go to system mode + cps #0b11111 + isb + // Setup the stack. // It shall be directly below our kernel image ldr r5, =__start |