From owner-freebsd-arm@FreeBSD.ORG Wed Sep 19 08:08:47 2007 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AF8516A417 for ; Wed, 19 Sep 2007 08:08:47 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from mail.liberty-hosting.de (mail.smartterra.de [195.225.132.203]) by mx1.freebsd.org (Postfix) with ESMTP id 425D713C483 for ; Wed, 19 Sep 2007 08:08:47 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from home.alpha-tierchen.de (port-212-202-41-17.dynamic.qsc.de [212.202.41.17]) by mail.liberty-hosting.de (Postfix) with ESMTP id 8B2FF3E9659; Wed, 19 Sep 2007 10:10:20 +0200 (CEST) Received: from webmail.alpha-tierchen.de (localhost [127.0.0.1]) by home.alpha-tierchen.de (Postfix) with ESMTP id 4EDA545068; Wed, 19 Sep 2007 10:08:45 +0200 (CEST) Received: from 87.234.225.18 (SquirrelMail authenticated user bkoenig) by webmail.alpha-tierchen.de with HTTP; Wed, 19 Sep 2007 10:08:45 +0200 (CEST) Message-ID: <1153.87.234.225.18.1190189325.squirrel@webmail.alpha-tierchen.de> Date: Wed, 19 Sep 2007 10:08:45 +0200 (CEST) From: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= To: "Neil Bradley" User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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> <20070918153651.G51724@synthcom.com> In-Reply-To: <20070918153651.G51724@synthcom.com> Cc: freebsd-arm@freebsd.org Subject: Re: 64bit integer problem? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2007 08:08:47 -0000 Neil Bradley wrote: > 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. ;-) [...] Oh, there is a misunderstanding between us. The thing that you call "architecture" is what I call "implementation". There is only one architecture (ARM), several families (i.e. ARMv4, ARMv5), and many implementations (XScale, ARM9, ARM7, ARM11). The ARM architecture doesn't define specific endianess, but commonly known implementations provide both endianesses. > None of the ARM architectures I've worked with (XScale, ARM9, ARM7, > ARM11) have ever come up by default in big endian. This is correct behaviour. The reference manual demands little endian as default if both are implemented. Björn