Subject: bus_space_read/write in Big/Little Endian
To: tech-kern@NetBSD.ORG <tech-kern@NetBSD.ORG>
From: Dante Profeta <dante@mclink.it>
List: tech-kern
Date: 06/18/1998 17:00:02
This is a trivial question, but I always programmed in Motorola 68K asm.

If I issue a bus_space_read_2() what I get?
In Big Endian HiB-LowB, while in Little Endian I think LowB-HiB ...isn't
it?

If I issue a bus_space_write_2() with a value of 0xFF00 what I actually
write in a Little Endian environment?

Does this functions are machine dependent structured to perform an
automatic conversion from/to memory rappresentation to/from C style
(Hi-Low)?

Thanks,
--
  Dante_