diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2020-01-03 04:53:01 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2020-01-03 04:53:01 +0100 |
commit | ffb2c4adfb8e65e355b39abd39d994eebc649c98 (patch) | |
tree | 760ef43f89b480ecd0be4bfd9312eb0d8c744d05 /PL0_test.c | |
parent | 6bf5a3b8c6e8a5d1cb3fb4880a5d9688ab094c62 (diff) | |
download | rpi-MMU-example-ffb2c4adfb8e65e355b39abd39d994eebc649c98.tar.gz rpi-MMU-example-ffb2c4adfb8e65e355b39abd39d994eebc649c98.zip |
add (not yet fully working - it can only send through uart now) interrupt-driven uart together with "scheduler"
Diffstat (limited to 'PL0_test.c')
-rw-r--r-- | PL0_test.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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(); |