diff options
author | Richard Henderson <rth@twiddle.net> | 2011-05-02 10:46:14 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2011-05-02 10:46:14 -0700 |
commit | ee671d4ef86346e8d10cd0474aad998c16aa0383 (patch) | |
tree | d81fe5e4f49bc2fd0990a686283bd332c67bc59b /uart.c | |
parent | 2441ea1234e5b4399954ca64a101794cf6e813b3 (diff) | |
download | qemu-palcode-ee671d4ef86346e8d10cd0474aad998c16aa0383.zip qemu-palcode-ee671d4ef86346e8d10cd0474aad998c16aa0383.tar.gz qemu-palcode-ee671d4ef86346e8d10cd0474aad998c16aa0383.tar.bz2 |
Implement the console callback interface.
At least enough for GETC and PUTS.
Diffstat (limited to 'uart.c')
-rw-r--r-- | uart.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -51,7 +51,7 @@ uart_getchar(int offset) return inb(com2Rbr + offset); } -static void +void uart_putchar_raw(int offset, char c) { while ((inb(com2Lsr + offset) & 0x20) == 0) @@ -74,7 +74,7 @@ uart_puts(int offset, const char *s) uart_putchar(offset, *s++); } -static void +void uart_init_line(int offset, int baud) { int i; |