[U-Boot] [PATCH 10/22] x86: acpi: Add one API to find OS wakeup vector

Simon Glass sjg at chromium.org
Tue Mar 21 20:06:47 UTC 2017


Hi Bin,

On 16 March 2017 at 08:26, Bin Meng <bmeng.cn at gmail.com> wrote:
> This adds one API acpi_find_wakeup_vector() to locate OS wakeup
> vector from the ACPI FACS table, to be used in the S3 boot path.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  arch/x86/include/asm/acpi_table.h |  1 +
>  arch/x86/include/asm/tables.h     |  1 +
>  arch/x86/lib/acpi_table.c         | 72 +++++++++++++++++++++++++++++++++++++++
>  3 files changed, 74 insertions(+)
>
> diff --git a/arch/x86/include/asm/acpi_table.h b/arch/x86/include/asm/acpi_table.h
> index bbd80a1..6cadd90 100644
> --- a/arch/x86/include/asm/acpi_table.h
> +++ b/arch/x86/include/asm/acpi_table.h
> @@ -317,3 +317,4 @@ int acpi_create_madt_lapic_nmi(struct acpi_madt_lapic_nmi *lapic_nmi,
>  u32 acpi_fill_madt(u32 current);
>  void acpi_create_gnvs(struct acpi_global_nvs *gnvs);
>  ulong write_acpi_tables(ulong start);
> +void *acpi_find_wakeup_vector(void);

Function comment?
[...]

Regards,
Simon


More information about the U-Boot mailing list