summaryrefslogtreecommitdiffstats
path: root/kernel/io_ports.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/io_ports.h')
-rw-r--r--kernel/io_ports.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/io_ports.h b/kernel/io_ports.h
new file mode 100644
index 0000000..e6ee7d3
--- /dev/null
+++ b/kernel/io_ports.h
@@ -0,0 +1,7 @@
+#ifndef _IO_PORTS_H_
+#define _IO_PORTS_H_
+
+void outw(uint16_t port, uint16_t data);
+uint16_t inw(uint16_t port);
+
+#endif