[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2 38/41] arm : acpi enable efi for acpi
efi should be enabled to fetch the root pointer from uefi Signed-off-by: Parth Dixit <parth.dixit@xxxxxxxxxx> --- xen/arch/arm/setup.c | 2 ++ xen/common/efi/runtime.c | 2 +- xen/include/xen/efi.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index 80364bb..9741113 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -47,6 +47,7 @@ #include <asm/setup.h> #include <xsm/xsm.h> #include <asm/acpi.h> +#include <xen/efi.h> struct bootinfo __initdata bootinfo; @@ -104,6 +105,7 @@ static void __init parse_acpi_param(char *s) else if ( !strcmp(s, "force") ) { acpi_disabled = 0; + efi_enabled = 1; } } #endif diff --git a/xen/common/efi/runtime.c b/xen/common/efi/runtime.c index 5ed8b01..fb8c0d0 100644 --- a/xen/common/efi/runtime.c +++ b/xen/common/efi/runtime.c @@ -11,7 +11,7 @@ DEFINE_XEN_GUEST_HANDLE(CHAR16); #ifndef COMPAT #ifdef CONFIG_ARM /* Disabled until runtime services implemented */ -const bool_t efi_enabled = 0; +bool_t efi_enabled = 0; #else # include <asm/i387.h> # include <asm/xstate.h> diff --git a/xen/include/xen/efi.h b/xen/include/xen/efi.h index 9fdc72b..448d41d 100644 --- a/xen/include/xen/efi.h +++ b/xen/include/xen/efi.h @@ -5,7 +5,7 @@ #include <xen/types.h> #endif -extern const bool_t efi_enabled; +extern bool_t efi_enabled; #define EFI_INVALID_TABLE_ADDR (~0UL) #define EFI_MEM_DESC_V1 1 -- 1.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |