diff options
Diffstat (limited to 'src/kernel/io/io.h')
-rw-r--r-- | src/kernel/io/io.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/kernel/io/io.h b/src/kernel/io/io.h index e72d794..a34bd21 100644 --- a/src/kernel/io/io.h +++ b/src/kernel/io/io.h @@ -52,8 +52,20 @@ void init_serial(); /** * Write a string to the serial port (QEMU logging) - * @param data + * @param data The string that should get transmitted */ -void write_serial(char *data); +void serial_write(char *data); + +/** + * Write a hex number to the serial port (QEMU logging) + * @param n The hex number that should get transmitted + */ +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 + */ +void serial_write_dec(int n); #endif |