From: Ian Campbell Subject: Re: [PATCH v2 5/4] xen: arm: ensure that the boot code is <4K in size Date: Mon, 21 Jul 2014 11:39:42 +0100 Message-ID: <1405939182.25022.4.camel@kazak.uk.xensource.com> References: <1405699899.6419.7.camel@kazak.uk.xensource.com> <1405702643.14973.5.camel@kazak.uk.xensource.com> <53C95415.90009@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53C95415.90009@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Stefano Stabellini , Julien Grall , Tim Deegan , xen-devel List-Id: xen-devel@lists.xenproject.org On Fri, 2014-07-18 at 18:06 +0100, Andrew Cooper wrote: > On 18/07/14 17:57, Ian Campbell wrote: > > This avoids having to deal with the 1:1 boot mapping crossing a > > section or page boundary. > > > > Signed-off-by: Ian Campbell > > --- > > xen/arch/arm/arm32/head.S | 3 +++ > > xen/arch/arm/arm64/head.S | 3 +++ > > xen/arch/arm/xen.lds.S | 6 ++++++ > > 3 files changed, 12 insertions(+) > > > > diff --git a/xen/arch/arm/arm32/head.S b/xen/arch/arm/arm32/head.S > > index caf7934..b4c3973 100644 > > --- a/xen/arch/arm/arm32/head.S > > +++ b/xen/arch/arm/arm32/head.S > > @@ -458,6 +458,9 @@ fail: PRINT("- Boot failed -\r\n") > > 1: wfe > > b 1b > > > > +.globl _end_boot > > +_end_boot: > > + > > GLOBAL() should be in scope (although git grep shows that some use of > .global has slipped back into the arm .S files) Thanks, I only knew about ENTRY which didn't seem appropriate. I don't think this warrants a resend so I'll do it on commit unless someone objects to that. Ian.