diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-30 17:34:23 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-30 17:34:23 +0100 |
commit | c9e045dc2170a99c9f32386e3e53aee9e01a8e7c (patch) | |
tree | faa57aef89cd1a03efc665c1e5809cf4f0304269 /PL0_test.c | |
parent | eae54c24e2e2b89f399bc2d3be195468c2e462a5 (diff) | |
download | rpi-MMU-example-c9e045dc2170a99c9f32386e3e53aee9e01a8e7c.tar.gz rpi-MMU-example-c9e045dc2170a99c9f32386e3e53aee9e01a8e7c.zip |
io api rework
Diffstat (limited to 'PL0_test.c')
-rw-r--r-- | PL0_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -15,15 +15,15 @@ void PL0_main(void) first_kernel_byte[0] = *(char*) 0x0; first_kernel_byte[1] = '\0'; - uart_puts(first_kernel_byte); + puts(first_kernel_byte); while (1) { char c = getchar(); - - putchar(c); if (c == '\r') putchar('\n'); + + putchar(c); } } |