aboutsummaryrefslogtreecommitdiff
path: root/kernel.c
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-12-10 16:46:56 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2019-12-10 16:46:56 +0100
commit3f1cd2050271dbf548e053f0a67e365b277cfcb3 (patch)
treecef57f71beddb9bb97d35390deb29a09b2d7d98b /kernel.c
parentc76b34db77f06450ba1c957e87a0b1df3c6c29b4 (diff)
downloadrpi-MMU-example-3f1cd2050271dbf548e053f0a67e365b277cfcb3.tar.gz
rpi-MMU-example-3f1cd2050271dbf548e053f0a67e365b277cfcb3.zip
re-enter system mode on invalid data access from PL0 code
Diffstat (limited to 'kernel.c')
-rw-r--r--kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel.c b/kernel.c
index 1a3b87d..eb3e811 100644
--- a/kernel.c
+++ b/kernel.c
@@ -31,7 +31,7 @@ void kernel_main(uint32_t r0, uint32_t r1, uint32_t atags)
demo_setup_PL0();
- demo_go_unprivileged();
+ demo_setup_interrupts();
// prints some info and sets up a section for PL0 code, loads a blob
// there and jumps to it... never, ever, ever returns