Date: Sun, 24 Oct 2010 11:53:50 -0500 From: Nathan Whitehorn <nwhitehorn@freebsd.org> To: freebsd-hackers@freebsd.org Subject: Re: fix pnpinfo on arch=amd64 Message-ID: <4CC4649E.3060805@freebsd.org> In-Reply-To: <AANLkTimbmoX%2BN8eNWJ4VtVerKTkVPuJgTAttsZsKL8tE@mail.gmail.com> References: <20101024002248.GA73346@freebsd.org> <AANLkTinzn1r3qn3d7MoVhZPNOo6OHDfF-0KVrLN%2BC516@mail.gmail.com> <20101024115712.GA61342@freebsd.org> <AANLkTimbmoX%2BN8eNWJ4VtVerKTkVPuJgTAttsZsKL8tE@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CC4649E.3060805>