musl/include/sys/io.h, branch master musl - an implementation of the standard library for Linux-based systems fix breakage from introducing bits header for sys/io.h 2012年11月19日T00:58:15+00:00 Rich Felker dalias@aerifal.cx 2012年11月19日T00:58:15+00:00 0004ea613ac310daaee30c167112d796db33fa70 apparently some other archs have sys/io.h and should not break just because they don't have the x86 port io functions. provide a blank bits/io.h everywhere for now.
apparently some other archs have sys/io.h and should not break just
because they don't have the x86 port io functions. provide a blank
bits/io.h everywhere for now.
add port io functions to sys/io.h 2012年11月19日T00:31:58+00:00 Rich Felker dalias@aerifal.cx 2012年11月19日T00:31:58+00:00 61aa6324af982b635f8c392640a4e8e450c4c6b4 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.
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.
add ioperm/iopl syscalls 2012年07月23日T20:54:53+00:00 Rich Felker dalias@aerifal.cx 2012年07月23日T20:54:53+00:00 d426b045332718ae6d42237303d657fd97c51455 based on patches by orc and Isaac Dunham, with some fixes. sys/io.h exists and contains prototypes for these functions regardless of whether the target arch has them; this is a bit unorthodox but I don't think it will break anything. the function definitions do not exist unless the appropriate SYS_* syscall number macro is defined, which should make sure configure scripts looking for these functions don't find them on other systems. presently, sys/io.h does not have the inb/outb/etc. port io macros/functions. I'd be surprised if ioperm/iopl are useful without them, so they probably need to be added at some point in appropriate bits/io.h files...
based on patches by orc and Isaac Dunham, with some fixes. sys/io.h
exists and contains prototypes for these functions regardless of
whether the target arch has them; this is a bit unorthodox but I don't
think it will break anything. the function definitions do not exist
unless the appropriate SYS_* syscall number macro is defined, which
should make sure configure scripts looking for these functions don't
find them on other systems.
presently, sys/io.h does not have the inb/outb/etc. port io
macros/functions. I'd be surprised if ioperm/iopl are useful without
them, so they probably need to be added at some point in appropriate
bits/io.h files...

AltStyle によって変換されたページ (->オリジナル) /