aboutsummaryrefslogtreecommitdiff
path: root/devices/uart.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'devices/uart.hpp')
-rw-r--r--devices/uart.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/devices/uart.hpp b/devices/uart.hpp
new file mode 100644
index 0000000..c86557c
--- /dev/null
+++ b/devices/uart.hpp
@@ -0,0 +1,7 @@
+#pragma once
+
+#include <stdio.h>
+#include <sys/io.h>
+
+template <UART port> FILE *uart_init();
+template <> FILE *uart_init<COM1>();