From: "Jan Beulich" Subject: Re: [PATCH v2 24/41] arm : acpi create efi node for DOM0 Date: Wed, 20 May 2015 17:16:08 +0100 Message-ID: <555CCF68020000780007C5EA@mail.emea.novell.com> References: <1431893048-5214-1-git-send-email-parth.dixit@linaro.org> <1431893048-5214-25-git-send-email-parth.dixit@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1431893048-5214-25-git-send-email-parth.dixit@linaro.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Parth Dixit Cc: keir@xen.org, ian.campbell@citrix.com, andrew.cooper3@citrix.com, tim@xen.org, xen-devel@lists.xen.org, julien.grall@citrix.com, stefano.stabellini@citrix.com, christoffer.dall@linaro.org List-Id: xen-devel@lists.xenproject.org >>> On 17.05.15 at 22:03, wrote: > --- a/xen/include/xen/efi.h > +++ b/xen/include/xen/efi.h > @@ -8,7 +8,7 @@ > extern const bool_t efi_enabled; > > #define EFI_INVALID_TABLE_ADDR (~0UL) > - > +#define EFI_MEM_DESC_V1 1 > /* Add fields here only if they need to be referenced from non-EFI code. */ > struct efi { > unsigned long mps; /* MPS table */ > @@ -20,6 +20,15 @@ struct efi { > > extern struct efi efi; > > +struct efi_memory_desc { > + u32 type; > + u32 pad; > + u64 phys_addr; > + u64 virt_addr; > + u64 num_pages; > + u64 attribute; > +}; > + > #ifndef __ASSEMBLY__ > > union xenpf_efi_info; NAK - you're supposed to use what is already there, or give a good reason why redundant declarations are needed. Jan