Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2002 16:00:01 +0000
From:      Christoph Hellwig <hch@infradead.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        freebsd-hackers@FreeBSD.ORG, Julien Mabillard <jmab@gve.ch>
Subject:   Re: sio i/o
Message-ID:  <20021107160001.A30953@infradead.org>
In-Reply-To: <XFMail.20021107105131.jhb@FreeBSD.org>; from jhb@FreeBSD.org on Thu, Nov 07, 2002 at 10:51:31AM -0500
References:  <20021107150542.A28917@infradead.org> <XFMail.20021107105131.jhb@FreeBSD.org>

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




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