Re: inb/outb strangeness

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Thu, 16 Sep 1999 18:03:09 +0200


Sven Geggus wrote:
> I don't rember wheater or not outb_p was working in usermode using libc5, but
> it always causes segmentation faults when used in a glibc binary.
>
> Let me summarize this:
>
> In case of a special configuration register the outb command in kernelmode
> _does not work_. Writing the same Register from userland _does work_ using a
> libc5 binary. Writing the Register using a glibc binary _does not work_ as
> well.

I'm using a standard glibc.
outb_p works fine for me as do inb_p and outw_p.
The non-_p variants should work fine too but I've haven't used them recently.

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/