The API is the same as on Linux (glibc).

About kfreebsd-amd64, how is it that ioperm() is not available while on
GNU/Linux it is?

Because it is not supported by kernel, equivalent of I386_SET_IOPERM
is not available on amd64. For details see
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/i386/sys_machdep.c
and
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/amd64/sys_machdep.c

iopl() is emulated by opening /dev/io on both architectures.

Petr



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to