summaryrefslogtreecommitdiff
path: root/src/device/oprom/include/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/oprom/include/io.h')
-rw-r--r--src/device/oprom/include/io.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/device/oprom/include/io.h b/src/device/oprom/include/io.h
new file mode 100644
index 0000000000..d9b2139b7e
--- /dev/null
+++ b/src/device/oprom/include/io.h
@@ -0,0 +1,9 @@
+void outb(u8 val, u16 port);
+void outw(u16 val, u16 port);
+void outl(u32 val, u16 port);
+
+u8 inb(u16 port);
+u16 inw(u16 port);
+u32 inl(u16 port);
+
+