Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2007 15:40:13 -0700 (PDT)
From:      Neil Bradley <nb@synthcom.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: 64bit integer problem?
Message-ID:  <20070918153651.G51724@synthcom.com>
In-Reply-To: <62362.2001:6f8:101e:0:20e:cff:fe6d:6adb.1190154987.squirrel@webmail.alpha-tierchen.de>
References:  <20070918182508.V24397@fw.reifenberger.com> <46F0064C.3080702@uchicago.edu> <20070918220327.V25238@fw.reifenberger.com> <20070918151418.Y51724@synthcom.com> <62362.2001:6f8:101e:0:20e:cff:fe6d:6adb.1190154987.squirrel@webmail.alpha-tierchen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
>> ARM Isn't a big endian architecture -  it's little endian by default.
> According to the ARM reference manual there is no default endianess. It
> rather says that it is implementation defined whether the machine supports
> little endian or big endian, or even both.

All ARM architectures come up out of reset in little endian mode. It takes 
extra instructions to put it in big endian mode. I would call that a 
default endianness. ;-) For example, the PowerPC is a big endian 
architecture, but you can put it in little endian, but its default is 
still big endian.

It's actually a bit worse because you can also (in some ARM architectures) 
set whether or not the I/O is big or little endian independently, but it 
still defaults to little endian.

None of the ARM architectures I've worked with (XScale, ARM9, ARM7, ARM11) 
have ever come up by default in big endian.

-->Neil

----------------------------------------------------------------------------
C. Neil Bradley - KE7IXP - The one eyed man in the land of the blind is not
                            king. He's a prisoner.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070918153651.G51724>