aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/include/arch
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/arch')
-rw-r--r--kernel/include/arch/x86_64/serial.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/kernel/include/arch/x86_64/serial.h b/kernel/include/arch/x86_64/serial.h
new file mode 100644
index 0000000..2ee63c5
--- /dev/null
+++ b/kernel/include/arch/x86_64/serial.h
@@ -0,0 +1,19 @@
+#ifndef SERIAL_H
+#define SERIAL_H
+
+#include <stddef.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+void serial_putchar(char c);
+void serial_write(const char* data, size_t size);
+void serial_writestring(const char* data);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif \ No newline at end of file