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

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Sat Feb 12 2000 - 18:33:30 EST


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/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:23 EST