From 5d4180c67cea08bb76eebde6b41b8935e60fed98 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 26 Oct 2019 22:15:29 +0200 Subject: Improved VESA and fixed warnings --- src/kernel/io/io.h | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'src/kernel/io/io.h') diff --git a/src/kernel/io/io.h b/src/kernel/io/io.h index a145319..3c618d6 100644 --- a/src/kernel/io/io.h +++ b/src/kernel/io/io.h @@ -50,21 +50,27 @@ void send_l(uint16_t port, uint32_t data); */ void init_serial(); +/** + * Write a single char to the serial port (QEMU logging) + * @param ch The char + */ +void serial_put(char ch); + /** * Write a string to the serial port (QEMU logging) - * @param data The string that should get transmitted + * @param data The string */ void serial_write(const char *data); /** - * Write a hex number to the serial port (QEMU logging) - * @param n The hex number that should get transmitted + * Write a hexadecimal formatted int to the serial port (QEMU logging) + * @param n The decimal number */ void serial_write_hex(int n); /** - * Write a dec number to the serial port (QEMU logging) - * @param n The dec number that should get transmitted + * Write a decimal number to the serial port (QEMU logging) + * @param n The decimal number */ void serial_write_dec(int n); -- cgit v1.2.3