summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNathan Lee <me@nwlee.tech>2026-09-20 21:12:49 -0500
committerNathan Lee <me@nwlee.tech>2026-09-20 21:12:49 -0500
commit50e526d72f1fd9cb895d743a1353b54505b48025 (patch)
tree3442b2bd7b3b6ba6db3d972f89cf575ce1201278 /include
parent09be8ace254a7f8bb69542d09a6b2013636123a2 (diff)
add x86 supportHEADmaster
Diffstat (limited to 'include')
-rw-r--r--include/early/uart.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/early/uart.h b/include/early/uart.h
new file mode 100644
index 0000000..8d69678
--- /dev/null
+++ b/include/early/uart.h
@@ -0,0 +1,5 @@
+#pragma once
+#include <sys/stddef.h>
+
+void outb(uint16_t port, uint8_t val);
+uint8_t inb(uint16_t port);