summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/toxic/io.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/toxic/io.h b/src/include/toxic/io.h
new file mode 100644
index 0000000..f2a869a
--- /dev/null
+++ b/src/include/toxic/io.h
@@ -0,0 +1,9 @@
+#ifndef IO_H
+#define IO_H
+
+unsigned char insb(unsigned short port);
+unsigned short insw(unsigned short port);
+
+void outb(unsigned short port, unsigned char val);
+void outw(unsigned short port, unsigned short val);
+#endif /* IO_H */