From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 1 13:22:28 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 24129106566B for ; Tue, 1 Dec 2009 13:22:28 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-exrelay3.uni-muenster.de (ZIVM-EXRELAY3.UNI-MUENSTER.DE [128.176.192.20]) by mx1.freebsd.org (Postfix) with ESMTP id AE1938FC14 for ; Tue, 1 Dec 2009 13:22:27 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.47,321,1257116400"; d="scan'208";a="19996118" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER05.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay3.uni-muenster.de with ESMTP; 01 Dec 2009 14:22:24 +0100 Received: by ZIVMAILUSER05.UNI-MUENSTER.DE (Postfix, from userid 149459) id 98C5F1B07E7; Tue, 1 Dec 2009 14:22:24 +0100 (CET) Date: Tue, 01 Dec 2009 14:22:23 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: 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 13:22:28 -0000 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