summaryrefslogtreecommitdiff
path: root/test/misc/outb.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-07 19:44:37 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-07 19:44:37 +0000
commitd6c19a6e1a1921de26de77e2f3e6a1eaa19b6e73 (patch)
tree2f5c9c599ebbf1f4ec618e1e762ac5d77bfba958 /test/misc/outb.c
parent000e5cc4360738d57ae0d9bd4267b676df7e56a4 (diff)
Add in a test for outb (that currently fails)
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);
+}
+