diff options
Diffstat (limited to 'devices/uart_16550.h')
-rw-r--r-- | devices/uart_16550.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/devices/uart_16550.h b/devices/uart_16550.h index bb219cc..5e5ee13 100644 --- a/devices/uart_16550.h +++ b/devices/uart_16550.h @@ -1,5 +1,7 @@ #pragma once +#include <stdio.h> + enum UART { COM1 = 0x3f8, COM2 = 0x2f8, @@ -11,6 +13,6 @@ enum UART { COM8 = 0x4E8, }; -int uart_init(enum UART port); -void uart_write(enum UART port, char a); -int uart_puts(enum UART port, const char *string, int length); +FILE *uart_init(enum UART port); +// void uart_write(enum UART port, char a); +// int uart_puts(enum UART port, const char *string, int length); |