From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sun, 14 Nov 2010 10:16:25 +0100 Subject: [U-Boot] RFC: Aligning arch initialisation sequences In-Reply-To: <4CDF7821.4080300@gmail.com> 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> Message-ID: <4CDFA8E9.3050803@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 14/11/2010 06:48, Graeme Russ a ?crit : > 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. Amicalement, -- Albert.