From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Tue, 21 Mar 2017 14:06:47 -0600 Subject: [U-Boot] [PATCH 10/22] x86: acpi: Add one API to find OS wakeup vector In-Reply-To: <1489674408-17498-11-git-send-email-bmeng.cn@gmail.com> References: <1489674408-17498-1-git-send-email-bmeng.cn@gmail.com> <1489674408-17498-11-git-send-email-bmeng.cn@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Bin, On 16 March 2017 at 08:26, Bin Meng 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 > --- > > 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