Endianness of freeBSD

Enno Davids enno.davids at metva.com.au
Mon Feb 4 13:40:58 UTC 2008


On Mon, Feb 04, 2008 at 01:20:14PM +0100, Heiko Wundram (Beenic) wrote:
|
|As I said above: it depends on the hardware. There is even hardware (ARM, in 
|particular) which can run in little- or big-endian mode, depending on how it 
|is initialized.

If I recall correctly some of the MIPS chips had/ve an endian selector bit
on each page table entry in the MMU. The idea was to map each of the I/O
devices through the MMU and let that bit help in talking to the hardware
(i.e. Intel peripherals expecting little endian and motorola chips wanting
the opposite.)


E.




More information about the freebsd-questions mailing list