add port io functions to sys/io.h
authorRich Felker <dalias@aerifal.cx>
Mon, 19 Nov 2012 00:31:58 +0000 (19:31 -0500)
committerRich Felker <dalias@aerifal.cx>
Mon, 19 Nov 2012 00:31:58 +0000 (19:31 -0500)
commit61aa6324af982b635f8c392640a4e8e450c4c6b4
treeb17e98b2fd56ef4b11bca2d15007a2b3c8b7a90e
parentf54ac2446abac57cacebc64df78a5ef850045700
add port io functions to sys/io.h

based on proposal by Isaac Dunham. nonexistance of bits/io.h will
cause inclusion of sys/io.h to produce an error on archs that are not
supposed to have it. this is probably the desired behavior, but the
error message may be a bit unusual.
arch/i386/bits/io.h [new file with mode: 0644]
arch/x86_64/bits/io.h [new file with mode: 0644]
include/sys/io.h
src/linux/ioperm.c
src/linux/iopl.c