From 16241aafa780ebf188b2ceb96d51bf5af5d6bbe2 Mon Sep 17 00:00:00 2001 From: aqua Date: Sun, 4 Dec 2022 16:25:08 +0200 Subject: Remove custom include paths in makefiles Add symlinks target to top-level makefile --- devices/uart.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 devices/uart.h (limited to 'devices/uart.h') diff --git a/devices/uart.h b/devices/uart.h new file mode 100644 index 0000000..ee74e98 --- /dev/null +++ b/devices/uart.h @@ -0,0 +1,17 @@ +#pragma once + +// TODO #include +#include + +enum UART { + COM1 = 0x3f8, + COM2 = 0x2f8, + COM3 = 0x3E8, + COM4 = 0x2E8, + COM5 = 0x5F8, + COM6 = 0x4F8, + COM7 = 0x5E8, + COM8 = 0x4E8, +}; + +FILE *uart_init(enum UART port); -- cgit v1.2.1