From c0a00ad5e51d24238f29736d7ece69a84aef6394 Mon Sep 17 00:00:00 2001 From: sbosse Date: Mon, 9 Dec 2024 20:43:25 +0100 Subject: [PATCH] Mon 9 Dec 20:40:44 CET 2024 --- kernel/serial.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/serial.h b/kernel/serial.h index 955a4f7..cfaad95 100644 --- a/kernel/serial.h +++ b/kernel/serial.h @@ -9,7 +9,8 @@ See the file LICENSE for details. void serial_init(); -char serial_read(int port_no); +int serial_read(int port_no); +int serial_read_nonblock(int port_no); void serial_write(int port_no, char a); int serial_device_probe( int unit, int *blocksize, int *nblocks, char *info );