i386_set_ioperm(2)/i386_get_ioperm(2) replacement after switch from x86 to amd64

Kostik Belousov kostikbel at gmail.com
Tue Dec 1 14:13:10 UTC 2009


On Tue, Dec 01, 2009 at 02:22:23PM +0100, Alexander Best wrote:
> hi there,
> 
> i recently switch from x86 to amd64. right now i'm looking for a way to
> replace i386_set_ioperm(2) and i386_get_ioperm(2) (which are x86 specific).
> any suggestions?
> 
> * full /dev/io access is rather nasty
> * the app i'm developing is using inb/outb opcodes through inline assembly in
> order to access the parallel port. i tried using ppi(4), but that slows down
> things dramatically (see:
> http://lists.freebsd.org/pipermail/freebsd-hackers/2009-July/029188.html)

FreeBSD 8.0 supports these syscalls on amd64.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20091201/c4fca99a/attachment.pgp


More information about the freebsd-hackers mailing list