lkml.org 
[lkml]   [2000]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] isa_{read,write}{w,l} fixed
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.156 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site