From 7a6cf86e4dd3094ed5aa41bf76d93c28c89e85e7 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Wed, 20 Jan 2021 21:31:23 -0600 Subject: i386: add serial port support Add support for serial communication in the i386 architecture. Signed-off-by: Danny Holman --- include/kernel/serial.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 include/kernel/serial.h (limited to 'include/kernel') diff --git a/include/kernel/serial.h b/include/kernel/serial.h new file mode 100644 index 0000000..a3a54b0 --- /dev/null +++ b/include/kernel/serial.h @@ -0,0 +1,8 @@ +#ifndef SERIAL_H +#define SERIAL_H + +static int serial_init(void); +char read_serial(void); +void write_serial(char a); + +#endif -- cgit v1.2.3