Re: How do I access ioports from userspace?

Frank v Waveren
2003-09-26T08:29:24Z

On Fri, Sep 26, 2003 at 09:40:42AM +0200, Benjamin Herrenschmidt wrote:
> > in[bwl]/out[bwl] are available on a lot more than just x86. Mind you, the
> > mechanisms are subtly different. Then again, if you're using direct hardware
> > access you're not going for portability anyway.
> Are they from userland ? I doubt it...
Have a look at your include files, they're defined everywhere, and defined
to something useful almost everywhere.

--
Frank v Waveren Fingerprint: 21A7 C7F3
fvw@[var.cx|stack.nl|dse.nl] ICQ#10074100 1FF3 47FF 545C CB53
Public key: hkp://wwwkeys.pgp.net/fvw@var.cx 7BD9 09C0 3AC1 6DF2