From owner-freebsd-arm@FreeBSD.ORG Tue May 1 16:55:10 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 494AA106566C for ; Tue, 1 May 2012 16:55:10 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 1C5BF8FC17 for ; Tue, 1 May 2012 16:55:10 +0000 (UTC) Received: from omta17.emeryville.ca.mail.comcast.net ([76.96.30.73]) by qmta06.emeryville.ca.mail.comcast.net with comcast id 4fr41j00A1afHeLA6gv4e3; Tue, 01 May 2012 16:55:04 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta17.emeryville.ca.mail.comcast.net with comcast id 4gv21j00L4NgCEG8dgv3TQ; Tue, 01 May 2012 16:55:03 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q41Gt122081337; Tue, 1 May 2012 10:55:01 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: Warner Losh In-Reply-To: <1E1891C5-3ACC-4C35-B966-D9B96424E245@bsdimp.com> References: <1BB6F5DA-36E9-471A-8926-F56275D90962@kientzle.com> <5FBCFC46-1DD9-4F29-8DD9-CB1E19D9BB21@gmail.com> <1E1891C5-3ACC-4C35-B966-D9B96424E245@bsdimp.com> Content-Type: text/plain; charset="windows-1251" Date: Tue, 01 May 2012 10:55:00 -0600 Message-ID: <1335891300.1111.17.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: arm@freebsd.org, Tim Kientzle Subject: Re: Request for Review: improving Ubldr syscall linkage. 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: Tue, 01 May 2012 16:55:10 -0000 On Tue, 2012-05-01 at 10:23 -0600, Warner Losh wrote: > On May 1, 2012, at 2:01 AM, Damjan Marion wrote: > > > > > On May 1, 2012, at 7:43 AM, Tim Kientzle wrote: > >> > >> The only odd point: The ARM reference I have lists blx > >> only for ARMv6 and ARMv7 instruction sets … or am I > >> misreading that somehow? > > > > BX and BLX are supported since ARMv5 in ARM mode and since ARMv4 in THUMB mode so this will break some very old stuff like StrongARM which is ARMv4(non T). > > Of the Atmel stuff, only the AT91RM9200 is ARM v4. The rest is ARMv5. I don't know that we support the callback to the bootloader for the Atmel port, but a lot of work went in for the AT91SAM stuff that might have snuck that kind of change in when I wasn't looking. > > Warner The rm9200 is ARMv4T so according to the ARM ARM it should be okay with the BX and BLX instructions. -- Ian