From 007c5b5c429d9d524b3f88884cbebab73d15a7ea Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 10 Oct 2019 18:56:48 +0200 Subject: Implemented serial console debugging Still trying to fix the EDID table --- src/kernel/io/io.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/kernel/io/io.h') diff --git a/src/kernel/io/io.h b/src/kernel/io/io.h index 8e39f84..e72d794 100644 --- a/src/kernel/io/io.h +++ b/src/kernel/io/io.h @@ -45,4 +45,15 @@ void send_w(uint16_t port, uint16_t data); */ void send_l(uint16_t port, uint32_t data); +/** + * Initialize the serial conenction + */ +void init_serial(); + +/** + * Write a string to the serial port (QEMU logging) + * @param data + */ +void write_serial(char *data); + #endif -- cgit v1.2.3