From owner-freebsd-hackers Thu Nov 7 8: 0: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6054F37B401; Thu, 7 Nov 2002 08:00:06 -0800 (PST) Received: from phoenix.infradead.org (carisma.slowglass.com [195.224.96.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B78143E77; Thu, 7 Nov 2002 08:00:05 -0800 (PST) (envelope-from hch@infradead.org) Received: from hch by phoenix.infradead.org with local (Exim 4.10) id 189p4b-00083o-00; Thu, 07 Nov 2002 16:00:01 +0000 Date: Thu, 7 Nov 2002 16:00:01 +0000 From: Christoph Hellwig To: John Baldwin Cc: freebsd-hackers@FreeBSD.ORG, Julien Mabillard Subject: Re: sio i/o Message-ID: <20021107160001.A30953@infradead.org> References: <20021107150542.A28917@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jhb@FreeBSD.org on Thu, Nov 07, 2002 at 10:51:31AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Nov 07, 2002 at 10:51:31AM -0500, John Baldwin wrote: > Doing I/O from userland generally isn't supported. A header with > is a kernel header though, not a userland one. :) Only on traditional Unix systems. On Linux it never is. > For i386-only, if > you do the right calls to obtain permission to do I/O, the functions > in machine/cpufunc.h should work however. Of course you need the permission on linux aswell, and again only a small number of ports actually supports it. It's generally discuraged. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message