diff options
Diffstat (limited to 'src/kernel/arch/i386/tty/serial.c')
-rw-r--r-- | src/kernel/arch/i386/tty/serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/arch/i386/tty/serial.c b/src/kernel/arch/i386/tty/serial.c index a259750..b3f1d9d 100644 --- a/src/kernel/arch/i386/tty/serial.c +++ b/src/kernel/arch/i386/tty/serial.c @@ -2,7 +2,7 @@ #include <kernel/arch/i386/port_io.h> #include <stdint.h> -const int COM1 = 0x3f8; +static const int COM1 = 0x3f8; void serial_init(void) { // see https://www.sci.muni.cz/docs/pc/serport.txt @@ -23,7 +23,7 @@ void serial_init(void) { * if i start using serial for input, TODO selftest */ } -void serial_putchar(char c) { +static void serial_putchar(char c) { while ((port_inb(COM1 + 5) & 0x20) == 0); // wait for THRE port_outb(COM1, c); } |