From: "Jan Beulich" Subject: Re: [PATCH for-xen-4.5 v4 00/18] xen: Break multiboot (v1) dependency and add multiboot2 support Date: Thu, 23 Oct 2014 17:04:53 +0100 Message-ID: <5449434502000078000418B9@mail.emea.novell.com> References: <1413555132-22138-1-git-send-email-daniel.kiper@oracle.com> <544146FE020000780003FA95@mail.emea.novell.com> <20141017154936.GE3467@olila.local.net-space.pl> <5448F24D02000078000415FE@mail.emea.novell.com> <5448E1B0.6050301@citrix.com> <20141023145745.GP3467@olila.local.net-space.pl> <54493A3E0200007800041881@mail.emea.novell.com> <20141023155020.GQ3467@olila.local.net-space.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XhKsj-0007YD-0n for xen-devel@lists.xenproject.org; Thu, 23 Oct 2014 16:04:57 +0000 In-Reply-To: <20141023155020.GQ3467@olila.local.net-space.pl> 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: Daniel Kiper Cc: Juergen Gross , keir@xen.org, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, Andrew Cooper , roy.franz@linaro.org, ning.sun@intel.com, ross.philipson@citrix.com, xen-devel@lists.xenproject.org, qiaowei.ren@intel.com, richard.l.maliszewski@intel.com, gang.wei@intel.com, fu.wei@linaro.org List-Id: xen-devel@lists.xenproject.org >>> On 23.10.14 at 17:50, wrote: > OK, AIUI you suggest that I should parse all multiboot2 data in reloc.c > and put all things in multiboot1 struct which lives on trampoline. Then > I should add global variables for EFI_HANDLE and EFI_SYSTEM_TABLE somewhere > in x86_64.S and initialize them from reloc.c. After that I should call > efi_start() immediately after reloc() if Xen runs on EFI platform. I wouldn't call this "parse", but beyond that it sounds roughly right. Whether you need global variables or can find some other mechanism to propagate the EFI specific things is secondary. Jan