summaryrefslogtreecommitdiffstats
path: root/kernel/io_ports.h
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-11-04 13:41:10 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-11-04 13:41:10 +0100
commit7a07b4a4398e02aead731b0c38af143d6a2fe41a (patch)
treecd9ec8490531dfa26e05325f807fb0e8c8e06c24 /kernel/io_ports.h
parent71e63d03f95d559c709911844ef1fc9907c74f49 (diff)
downloadjeyzuos-7a07b4a4398e02aead731b0c38af143d6a2fe41a.zip
jeyzuos-7a07b4a4398e02aead731b0c38af143d6a2fe41a.tar.gz
add io_ports
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