From: parth.dixit@linaro.org Subject: [PATCH RFC 33/35] arm : acpi enable efi for acpi Date: Wed, 4 Feb 2015 19:32:17 +0530 Message-ID: <1423058539-26403-34-git-send-email-parth.dixit@linaro.org> References: <1423058539-26403-1-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: <1423058539-26403-1-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: xen-devel@lists.xen.org Cc: ian.campbell@citrix.com, julien.grall@linaro.org, tim@xen.org, stefano.stabellini@citrix.com, jbeulich@suse.com, Parth Dixit , christoffer.dall@linaro.org List-Id: xen-devel@lists.xenproject.org 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 */ + +#if defined(CONFIG_ARM_64) && defined(CONFIG_ACPI) +const bool_t efi_enabled = 1; +#else const bool_t efi_enabled = 0; +#endif + #else # include # include -- 1.9.1