aboutsummaryrefslogtreecommitdiff
path: root/PL0_test.c
diff options
context:
space:
mode:
authorvetch <vetch97@gmail.com>2019-12-10 15:47:05 +0100
committervetch <vetch97@gmail.com>2019-12-10 15:47:05 +0100
commitf87b0105a0ac411b0d64d89a9ea92e9b07087aa2 (patch)
tree234ce93b208a9bbc199120b6aba69b479202783a /PL0_test.c
parent899a5c14aa3737f04f5cd95e97dca3ee14ad1b43 (diff)
downloadrpi-MMU-example-f87b0105a0ac411b0d64d89a9ea92e9b07087aa2.tar.gz
rpi-MMU-example-f87b0105a0ac411b0d64d89a9ea92e9b07087aa2.zip
Revert "Merge branch 'bob' of https://repo.or.cz/RPi-MMU-example into alice"
This reverts commit 5662aacc5688bba4873367ed9ab51fb83fbd1feb, reversing changes made to b0a6351d52af8bdf6fa9cca0d313df323249a520.
Diffstat (limited to 'PL0_test.c')
-rw-r--r--PL0_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/PL0_test.c b/PL0_test.c
index 1b93024..2216436 100644
--- a/PL0_test.c
+++ b/PL0_test.c
@@ -5,6 +5,9 @@ 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");