Subject: Re: bus.h style question
To: Wolfgang Solfrank <>
From: Bill Studenmund <>
List: tech-kern
Date: 08/20/1997 10:36:38
> > a) On machines, which _can_ have alien-endianness busses (more corretly: 
> > busses handled by bus_space_xxx of different endiannesses), the only
> > functions which _can_ be implemented as efficient inline macros are 
> > bus_space_xxx_1().
> Well, this depends on the implementation, as there are cpus that can access
> memory (or io for that matter) with special instructions that do the byte
> swapping on the fly.

True, but how, w/o using assembler code, can we get the compiler to use
them? It'd be neat to add little_e and big_e tags to variables, and
let the compiler deal with the correct access. :-)

Take care,