From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH RFC 33/35] arm : acpi enable efi for acpi Date: Thu, 05 Feb 2015 05:31:39 +0000 Message-ID: <54D3003B.5070402@linaro.org> References: <1423058539-26403-1-git-send-email-parth.dixit@linaro.org> <1423058539-26403-34-git-send-email-parth.dixit@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1423058539-26403-34-git-send-email-parth.dixit@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: parth.dixit@linaro.org, xen-devel@lists.xen.org Cc: christoffer.dall@linaro.org, tim@xen.org, stefano.stabellini@citrix.com, ian.campbell@citrix.com, jbeulich@suse.com List-Id: xen-devel@lists.xenproject.org Hi Parth, On 04/02/2015 14:02, parth.dixit@linaro.org wrote: > From: Parth Dixit > > efi should be enabled to fetch the root pointer from uefi > > Signed-off-by: Parth Dixit > --- > xen/common/efi/runtime.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/xen/common/efi/runtime.c b/xen/common/efi/runtime.c > index c840e08..c8b8642 100644 > --- a/xen/common/efi/runtime.c > +++ b/xen/common/efi/runtime.c > @@ -11,7 +11,13 @@ DEFINE_XEN_GUEST_HANDLE(CHAR16); > #ifndef COMPAT > > #ifdef CONFIG_ARM /* Disabled until runtime services implemented */ This comment seems irrelevant now. > + > +#if defined(CONFIG_ARM_64) && defined(CONFIG_ACPI) #ifdef CONFIG_ACPI > +const bool_t efi_enabled = 1; > +#else > const bool_t efi_enabled = 0; > +#endif > + > #else > # include > # include > Regards, -- Julien Grall