From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 1 14:13:10 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BA5B1065670 for ; Tue, 1 Dec 2009 14:13:10 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6378FC0C for ; Tue, 1 Dec 2009 14:13:09 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id nB1ED544072384 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Dec 2009 16:13:05 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id nB1ED5g4080601; Tue, 1 Dec 2009 16:13:05 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id nB1ED5Lk080600; Tue, 1 Dec 2009 16:13:05 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 1 Dec 2009 16:13:05 +0200 From: Kostik Belousov To: Alexander Best Message-ID: <20091201141305.GZ2368@deviant.kiev.zoral.com.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dwN3S3mscniL3FCL" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-hackers@freebsd.org Subject: Re: i386_set_ioperm(2)/i386_get_ioperm(2) replacement after switch from x86 to amd64 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2009 14:13:10 -0000 --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--