summaryrefslogtreecommitdiff
path: root/include/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/io.h')
-rw-r--r--include/io.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/io.h b/include/io.h
new file mode 100644
index 0000000..76c401d
--- /dev/null
+++ b/include/io.h
@@ -0,0 +1,9 @@
+#ifndef IO_H
+#define IO_H
+
+#include <stdint.h>
+
+uint8_t inb(uint32_t port);
+void outb(uint32_t port, uint8_t value);
+
+#endif