diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-02 16:37:22 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-02 16:37:22 +0100 |
commit | 401bf03070458cf3a5ee6947bd01a8f397fe2909 (patch) | |
tree | 568efb820ccf996118546108e98566584a3a904f /PL0_test.c | |
parent | 4b530611e8cd1a342a7e4461ac002cf715da26b3 (diff) | |
download | rpi-MMU-example-401bf03070458cf3a5ee6947bd01a8f397fe2909.tar.gz rpi-MMU-example-401bf03070458cf3a5ee6947bd01a8f397fe2909.zip |
create a separate library for kernel code that should run in PL0 mode
Diffstat (limited to 'PL0_test.c')
-rw-r--r-- | PL0_test.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -5,9 +5,6 @@ void PL0_main(void) { uart_puts("hello PL0! Switching to user mode!\n\r"); - asm("cps #0b10000\n\r" - "isb" ::: "memory"); - // if all went correct, Success! gets printed uart_puts("Success!\n\r"); |