aboutsummaryrefslogtreecommitdiff
path: root/PL0_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'PL0_test.c')
-rw-r--r--PL0_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/PL0_test.c b/PL0_test.c
index c6cbe18..fed62a2 100644
--- a/PL0_test.c
+++ b/PL0_test.c
@@ -7,7 +7,9 @@ void PL0_main(void)
// implemented correctly, this shall get printed
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();