summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/driver/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/amd64/driver/serial.h')
-rw-r--r--src/kernel/arch/amd64/driver/serial.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/kernel/arch/amd64/driver/serial.h b/src/kernel/arch/amd64/driver/serial.h
new file mode 100644
index 0000000..6a4876e
--- /dev/null
+++ b/src/kernel/arch/amd64/driver/serial.h
@@ -0,0 +1,10 @@
+#pragma once
+#include <kernel/vfs/request.h>
+#include <stdbool.h>
+#include <stddef.h>
+
+void serial_preinit(void);
+void serial_irq(void);
+void serial_write(const char *buf, size_t len);
+
+void serial_init(void);