Re: [PATCH] isa_{read,write}{w,l} fixed

Jamie Lokier (lk@tantalophile.demon.co.uk)
Sun, 13 Feb 2000 00:33:30 +0100


willy@thepuffingroup.com wrote:
> Alas, you can't. If accessing quantities of type short is exceptionally
> slow, then it may well be that the ABI decress Thou Shalt Pad. gcc has
> __attribute__(packed) to allow you to work around this.

Correct, though I don't know of any such ABIs.

> Just do as the plan9'ers do and represent all externally visible data
> as an array of unsigned chars. It's difficult to get that wrong.

That's broken as we're talking about I/O accesses...

enjoy,
-- 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/