[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Must I have the file "sys/io.h" ???



On Tue, Apr 27, 2004 at 04:27:37PM -0400, Ben Collins wrote:
> sys/io.h is specific to certain types of hardware. Mainly it is meant to
> access I/O ports like printers and serial ports on x86 style hardware
> (and also alpha, since it is heavily the same as x86 designwise).
> 
> In short, you wont find that file on much else that is non-i386, because
> it is useless to do so.
What would be the correct way to access I/O space from userspace? Some
programs like to access the PC-style parports via inb/outb, can you
point me how to a direction on how to do this on sparcs that have
similar hardware (i.e. US5)?
Cheers,
 -- Guido

Attachment: signature.asc
Description: Digital signature


Reply to: