From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v3] xen/arm: Rework the way to compute dom0 DTB base address Date: Mon, 3 Jun 2013 14:53:20 +0100 Message-ID: <51AC9FD0.3030800@citrix.com> References: <1370264040-22138-1-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1370264040-22138-1-git-send-email-julien.grall@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Stefano.Stabellini@eu.citrix.com, ian.campbell@citrix.com, patches@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 06/03/2013 01:54 PM, Julien Grall wrote: > diff --git a/xen/arch/arm/kernel.h b/xen/arch/arm/kernel.h > index 1776a4d..b4ecd30 100644 > --- a/xen/arch/arm/kernel.h > +++ b/xen/arch/arm/kernel.h > @@ -9,6 +9,12 @@ > #include > #include > > +enum kernel_type > +{ > + KERNEL_ELF, > + KERNEL_ZIMAGE, > +}; > + > struct kernel_info { > #ifdef CONFIG_ARM_64 > enum domain_type type; > @@ -23,6 +29,7 @@ struct kernel_info { > > void *kernel_img; > unsigned kernel_order; > + enum kernel_type type; I have noticed a compilation error with arm64 because "type" is already used by another field. I will send in few minutes another version of this patch. -- Julien