From: "Jan Beulich" Subject: Re: [PATCH RFC 00/19] arm64 EFI stub Date: Mon, 30 Jun 2014 12:12:27 +0100 Message-ID: <53B1623B020000780001E7DD@mail.emea.novell.com> References: <1403918735-30027-1-git-send-email-roy.franz@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1403918735-30027-1-git-send-email-roy.franz@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: Roy Franz Cc: keir@xen.org, ian.campbell@citrix.com, tim@xen.org, xen-devel@lists.xen.org, stefano.stabellini@citrix.com, linaro-uefi@lists.linaro.org, fu.wei@linaro.org List-Id: xen-devel@lists.xenproject.org >>> On 28.06.14 at 03:25, wrote: > 1) Build system changes. The 'efi-shared.c' file should be properly > shared, rather than symbolicly linked. One complication is that the EFI > code (for both archs) needs to be compiled with "-fshort-wchar". I also > likely need to create an efi subdir for arm64. If it's going to be just a single file (which I don't think it'll be in the end), it should just be xen/common/efi.c. If there are multiple ones (and I'd expect most of xen/arch/x86/efi/ to be re-usable), you should just move all non-x86 code to xen/common/efi/. > 3) I'm not sure arm64 needs it's own copy of efibind.h. The x86_64 > version worked fine as is, but has some Microsoft related defines in > there. The arm64 version I created is a proper subset with the exception > of the EFI_STUB_ERROR define. Yes, I'm certainly of the opinion that each architecture should have its own binding header, mirroring what (afaik) EFI itself does. Jan