aboutsummaryrefslogtreecommitdiff
path: root/PL0_test.c
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2020-01-03 16:41:41 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2020-01-03 16:41:41 +0100
commit06991bb6572c1eb814ee35256b3c2bd06519acd2 (patch)
tree7d9d128a60d44ee5d0a3c74d84ac05132d326cea /PL0_test.c
parentffb2c4adfb8e65e355b39abd39d994eebc649c98 (diff)
downloadrpi-MMU-example-06991bb6572c1eb814ee35256b3c2bd06519acd2.tar.gz
rpi-MMU-example-06991bb6572c1eb814ee35256b3c2bd06519acd2.zip
fix interrupt enabling/disabling/polling and uart fifo setting to make the io work properly
Diffstat (limited to 'PL0_test.c')
-rw-r--r--PL0_test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/PL0_test.c b/PL0_test.c
index fed62a2..0bfebc7 100644
--- a/PL0_test.c
+++ b/PL0_test.c
@@ -8,8 +8,6 @@ void PL0_main(void)
puts("Hello userspace! Type 'f' if you want me to try accessing "
"kernel memory!");
-
- asm volatile("mov r0, #17\n\rsvc #0" ::: "r0");
while (1)
{
char c = getchar();