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

From: Ralf Baechle (ralf@uni-koblenz.de)
Date: Thu Feb 17 2000 - 12:45:28 EST


On Thu, Feb 17, 2000 at 02:47:27PM +0100, Philipp Rumpf wrote:

> > Some architectures like certain DSPs don't actually implement char or
> > short as 8 or 16 bit types but make all types 32 bit. While this is
> > not of interest for the kernel itself it may make using shared memory
> > for interfacing with such a DSP more entertaining.
>
> How so ? That way you'd only have u32s in your struct (acenic does that,
> for example).
>
> Actually porting Linux to an architecture that doesn't support data types
> smaller than 32 bit has been done (early Alphas). (Of course, Digital
> relied on compilers simulating char and short).

The difference is that the compilers for those targets actually implement
the smaller types as 32-bit types. For details see gcc2 archives a loooong
time ago.

  Ralf

-
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 : Wed Feb 23 2000 - 21:00:19 EST