From eb2b06bc3fa6bfaa6ba597629495f39e244d8b5e Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 26 Jan 2005 09:58:49 +0000 Subject: [PATCH] target port may need to checksum git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1899 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/include/arch/acpi.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/arch/i386/include/arch/acpi.h b/src/arch/i386/include/arch/acpi.h index 3b9a774ffa..ab683eb4a6 100644 --- a/src/arch/i386/include/arch/acpi.h +++ b/src/arch/i386/include/arch/acpi.h @@ -220,9 +220,13 @@ typedef struct acpi_facs { u8 resv[33]; } __attribute__ ((packed)) acpi_facs_t; +/* These are implemented by the target port */ unsigned long write_acpi_tables(unsigned long addr); unsigned long acpi_dump_apics(unsigned long current); + +/* These can be used by the target port */ +u8 acpi_checksum(u8 *table, u32 length); void acpi_add_table(acpi_rsdt_t *rsdt, void *table); int acpi_create_madt_lapic(acpi_madt_lapic_t *lapic, u8 cpu, u8 apic); int acpi_create_madt_ioapic(acpi_madt_ioapic_t *ioapic, u8 id, u32 addr,u32 gsi_base);