On 10/24/10 11:14, Garrett Cooper wrote:
well on i386/amd (pc98?) you could use i386_get_ioperm(2) to check for proper
io permissions.
Yeah, and it's x86 specific. Kind of curious why there isn't a
more generalized name for this API, but it appeared to be geared
towards x86 (today, not so much according to LEGACY in io(4)).
That's because the whole concept is very x86-specific. For example, at
least PowerPC and ARM don't even have a concept of IO space as distinct
from memory, and /dev/io is something that only exists on i386, amd64,
pc98, and ia64 (i.e. Intel products).
-Nathan
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"