fix pnpinfo on arch=amd64

Nathan Whitehorn nwhitehorn at freebsd.org
Sun Oct 24 17:18:59 UTC 2010


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


More information about the freebsd-hackers mailing list