From: Wolfgang Denk Date: Sun, 14 Nov 2010 11:30:01 +0100 Subject: [U-Boot] RFC: Aligning arch initialisation sequences In-Reply-To: <4CDFA8E9.3050803@free.fr> References: <4CD67A22.9040802@gmail.com> <201011091835.38581.vapier@gentoo.org> <4CDE1107.80108@gmail.com> <4CDE4A53.4070106@free.fr> <4CDE741C.1020507@gmail.com> <4CDF6F2E.9040900@gmail.com> <4CDF7821.4080300@gmail.com> <4CDFA8E9.3050803@free.fr> Message-ID: <20101114103001.7EE2014EA7E@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Albert ARIBAUD, In message <4CDFA8E9.3050803@free.fr> you wrote: > > > Is there any reason the other arches could not implement an inline function > > as well? ARM for example: > > > > -#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r8") > > There is no way to set aside a register in ARM code for applicative > purposes. What exactly do you mean by that? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "I find this a nice feature but it is not according to the documen- tation. Or is it a BUG?" "Let's call it an accidental feature. :-)" - Larry Wall in <6909@jpl-devvax.JPL.NASA.GOV>