Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 2009 16:13:05 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Alexander Best <alexbestms@wwu.de>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: i386_set_ioperm(2)/i386_get_ioperm(2) replacement after switch from x86 to amd64
Message-ID:  <20091201141305.GZ2368@deviant.kiev.zoral.com.ua>
In-Reply-To: <permail-20091201132223f7e55a9d00002eca-a_best01@message-id.uni-muenster.de>
References:  <permail-20091201132223f7e55a9d00002eca-a_best01@message-id.uni-muenster.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--dwN3S3mscniL3FCL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Dec 01, 2009 at 02:22:23PM +0100, Alexander Best wrote:
> hi there,
>=20
> 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?
>=20
> * full /dev/io access is rather nasty
> * the app i'm developing is using inb/outb opcodes through inline assembl=
y in
> order to access the parallel port. i tried using ppi(4), but that slows d=
own
> things dramatically (see:
> http://lists.freebsd.org/pipermail/freebsd-hackers/2009-July/029188.html)

FreeBSD 8.0 supports these syscalls on amd64.

--dwN3S3mscniL3FCL
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAksVJHAACgkQC3+MBN1Mb4ilsQCggdsHwU253GWeJolwbhwpxBr4
7FUAn3mMKBXE+93gv/FM1eafLNLceaBY
=e4n8
-----END PGP SIGNATURE-----

--dwN3S3mscniL3FCL--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091201141305.GZ2368>