ACK: [PATCH] Add support for ACPI 1.0 GUID

IvanHu ivan.hu at canonical.com
Tue Jun 10 08:44:44 UTC 2014


On 06/05/2014 09:24 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Searches for the RSDP using the ACPI 2.0 GUID fails for
> older EFI platforms, so search for the ACPI 1.0 GUID too
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>   src/lib/src/fwts_acpi_tables.c | 8 +++++++-
>   1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/src/lib/src/fwts_acpi_tables.c b/src/lib/src/fwts_acpi_tables.c
> index d6ab1ce..291c59d 100644
> --- a/src/lib/src/fwts_acpi_tables.c
> +++ b/src/lib/src/fwts_acpi_tables.c
> @@ -57,7 +57,13 @@ static acpi_table_load_state acpi_tables_loaded = ACPI_TABLES_NOT_LOADED;
>    */
>   static inline void *fwts_acpi_find_rsdp_efi(void)
>   {
> -	return fwts_scan_efi_systab("ACPI20");
> +	void *addr;
> +
> +	addr = fwts_scan_efi_systab("ACPI20");
> +	if (!addr)
> +		addr = fwts_scan_efi_systab("ACPI");
> +
> +	return addr;
>   }
>
>   /*
>

Acked-by: Ivan Hu <ivan.hu at canonical.com>




More information about the fwts-devel mailing list