actually, i will code that as a pseudo device to manage
a small box over serial line that manages some external
devices.
and i was also curious to know how to do it in userland,
but i know i/o feels better in kernel
:-)
On Thu, Nov 07, 2002 at 10:23:16AM -0800, Julian Elischer wrote:
>
>
> On
Christoph Hellwig wrote:
> Umm, ispurely a userland header on linux, so he's probably
> referring to the userland versions of those that are provided by the
> linux ports with PC-like hardware..
Then the answer is even easier: Don't do it from userland, since you
should not be using sys header fi
On Thu, 7 Nov 2002, John Baldwin wrote:
>
> On 07-Nov-2002 Julien Mabillard wrote:
> > hi,
> > can anyone tell me where inb(), outb() are defined
> > in the sources (FreeBSD RELENG_4_7 or CURRENT)?
> > on linux systems this is defined in
>
> For FreeBSD should be using bus_space_read_1() and
from memory, however note that outb has the
arguments in the opposite order.
On Thu, 7 Nov 2002, Julien Mabillard wrote:
> hi,
> can anyone tell me where inb(), outb() are defined
> in the sources (FreeBSD RELENG_4_7 or CURRENT)?
> on linux systems this is defined in
>
> thank you.
>
> -
FWIW, regarding direct user application access
to I/O space, (a technique to be avoided if at all
possible, but sometimes useful for those "1-hour
emergency" projects, see the question
"How do I directly access I/O devices from an application
program (use in and out instructions)?"
In the
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 pe
On 07-Nov-2002 Christoph Hellwig wrote:
> On Thu, Nov 07, 2002 at 09:33:29AM -0500, John Baldwin wrote:
>>
>> On 07-Nov-2002 Julien Mabillard wrote:
>> > hi,
>> > can anyone tell me where inb(), outb() are defined
>> > in the sources (FreeBSD RELENG_4_7 or CURRENT)?
>> > on linux systems this is
On Thu, Nov 07, 2002 at 09:33:29AM -0500, John Baldwin wrote:
>
> On 07-Nov-2002 Julien Mabillard wrote:
> > hi,
> > can anyone tell me where inb(), outb() are defined
> > in the sources (FreeBSD RELENG_4_7 or CURRENT)?
> > on linux systems this is defined in
>
> For FreeBSD should be using bus_
great, thanks :-)
On Thu, Nov 07, 2002 at 09:33:29AM -0500, John Baldwin wrote:
>
> On 07-Nov-2002 Julien Mabillard wrote:
> > hi,
> > can anyone tell me where inb(), outb() are defined
> > in the sources (FreeBSD RELENG_4_7 or CURRENT)?
> > on linux systems this is defined in
>
> For FreeBSD s
On 07-Nov-2002 Julien Mabillard wrote:
> hi,
> can anyone tell me where inb(), outb() are defined
> in the sources (FreeBSD RELENG_4_7 or CURRENT)?
> on linux systems this is defined in
For FreeBSD should be using bus_space_read_1() and bus_space_write_1()
instead. However, you can find inb() a
hi,
can anyone tell me where inb(), outb() are defined
in the sources (FreeBSD RELENG_4_7 or CURRENT)?
on linux systems this is defined in
thank you.
Key fingerprint = D34A 577C 869B 28A2 3886 4298 50CB DC18 31A4 ACAD
11 matches
Mail list logo