On Tue, Jun 05, 2001 at 12:15:19PM +0200, Jonathan Liger wrote: > > Hi, I just wanted to know wether mach provided any functions similar to > the linux kernel in[bwl] or out[bwl] ... > > Thank you in advance, :) > > Jonathan Liger.
There are in[bwl] and out[bwl] functions defined in the Mach source
code (see [gnumach]/i386/i386/locore.S). But nothing such is defined
in any of the user libraries. I guess you're just going to
have to do asm ("inb port") and asm ("outb port, data").
Igor

