summaryrefslogtreecommitdiff
path: root/test/misc/outb.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/misc/outb.c')
-rw-r--r--test/misc/outb.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/misc/outb.c b/test/misc/outb.c
new file mode 100644
index 000000000..bbe18eaec
--- /dev/null
+++ b/test/misc/outb.c
@@ -0,0 +1,9 @@
+#include <sys/io.h>
+
+int main(void)
+{
+ ioperm(0x340,0x342,1);
+ outb(0x340,0x0);
+ exit(0);
+}
+