summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2005-01-26 09:58:49 +0000
committerStefan Reinauer <stepan@openbios.org>2005-01-26 09:58:49 +0000
commiteb2b06bc3fa6bfaa6ba597629495f39e244d8b5e (patch)
treea2b914047983ad4e63b2e5999082eedecd913526 /src/arch
parent898061220b40a9af688db905689a2789619608c3 (diff)
downloadcoreboot-eb2b06bc3fa6bfaa6ba597629495f39e244d8b5e.tar.xz
target port may need to checksum
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1899 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/include/arch/acpi.h4
1 files changed, 4 insertions, 0 deletions
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);