From dd6656f7132d1727a055035ca94945fa4fbaae58 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Wed, 20 Jan 2021 22:51:46 -0600 Subject: serial: add serial_writestring as a function Add a function in the serial interface that writes an entire string to the serial line. Signed-off-by: Danny Holman --- include/kernel/serial.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/kernel') diff --git a/include/kernel/serial.h b/include/kernel/serial.h index 79d856b..a815766 100644 --- a/include/kernel/serial.h +++ b/include/kernel/serial.h @@ -4,5 +4,6 @@ int serial_init(void); char read_serial(void); void write_serial(char a); +void serial_writestring(const char *str); #endif -- cgit v1.2.3