summaryrefslogtreecommitdiff
path: root/include/io.h
diff options
context:
space:
mode:
authorAleksa Vuckovic <aleksav013@gmail.com>2022-08-05 03:14:51 +0200
committerAleksa Vuckovic <aleksav013@gmail.com>2022-08-05 03:14:51 +0200
commitbe3274c49d0ca5e31daa855c4c109d830fdead67 (patch)
tree7f097287c7917b5bf662c5d2322a437a15f2a2da /include/io.h
parentf622bf0d79a7460cb160207bcd75f257deb872ea (diff)
interrupts
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