Subject: Re: Printer port access
To: Jared D. McNeill <jmcneill@invisible.yi.org>
From: Al Snell <alaric@alaric-snell.com>
List: port-i386
Date: 01/31/2001 21:00:48
> > > On i386, first call 'i386_iopl(3);', then you can use inb(port) and
> > > outb(port, data). When you're done, call 'i386_iopl(0);'. Don't forget to
> > > link the binary against libi386.

From my memory of i386 MMU layout, actually setting the IOPL to 3 will
allow everything on the system to talk to the IO space. Does the NetBSD
context switcher maintain a per-process IOPL?

ABS

-- 
                               Alaric B. Snell
 http://www.alaric-snell.com/  http://RFC.net/  http://www.warhead.org.uk/
   Any sufficiently advanced technology can be emulated in software