diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-17 17:01:41 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-17 17:01:41 +0100 |
commit | 7dbdf1ee0a064e9b2c5fedd7bd4e2b67f0532b09 (patch) | |
tree | 1ff297ee593d14151d200ec6e4db30f360dabfd0 /boot.S | |
parent | 37821a7d49e78132e7bdf12e04a9ed339588650c (diff) | |
download | rpi-MMU-example-7dbdf1ee0a064e9b2c5fedd7bd4e2b67f0532b09.tar.gz rpi-MMU-example-7dbdf1ee0a064e9b2c5fedd7bd4e2b67f0532b09.zip |
make things work again on real hw (setting system mode moved to boot.S)
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 |