summaryrefslogtreecommitdiff
path: root/uart.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2011-05-02 10:46:14 -0700
committerRichard Henderson <rth@twiddle.net>2011-05-02 10:46:14 -0700
commitee671d4ef86346e8d10cd0474aad998c16aa0383 (patch)
treed81fe5e4f49bc2fd0990a686283bd332c67bc59b /uart.h
parent2441ea1234e5b4399954ca64a101794cf6e813b3 (diff)
downloadqemu-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.h')
-rw-r--r--uart.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/uart.h b/uart.h
index 48cceef..bb47b0c 100644
--- a/uart.h
+++ b/uart.h
@@ -57,8 +57,10 @@ your own risk.
extern int uart_charav(int port);
extern int uart_getchar(int port);
+extern void uart_putchar_raw(int port, char c);
extern void uart_putchar(int port, char c);
extern void uart_puts(int port, const char *s);
+extern void uart_init_line(int port, int baud);
extern void uart_init(void);
#endif /* __ASSEMBLER__ */