Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Dec 2009 14:22:23 +0100 (CET)
From:      Alexander Best <alexbestms@wwu.de>
To:        <freebsd-hackers@FreeBSD.org>
Subject:   i386_set_ioperm(2)/i386_get_ioperm(2) replacement after switch from x86 to amd64
Message-ID:  <permail-20091201132223f7e55a9d00002eca-a_best01@message-id.uni-muenster.de>

next in thread | raw e-mail | index | archive | help
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)

cheers.
alex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-20091201132223f7e55a9d00002eca-a_best01>