target port may need to checksum

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1899 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2005-01-26 09:58:49 +00:00
parent 898061220b
commit eb2b06bc3f
1 changed files with 4 additions and 0 deletions

View File

@ -220,9 +220,13 @@ typedef struct acpi_facs {
u8 resv[33]; u8 resv[33];
} __attribute__ ((packed)) acpi_facs_t; } __attribute__ ((packed)) acpi_facs_t;
/* These are implemented by the target port */
unsigned long write_acpi_tables(unsigned long addr); unsigned long write_acpi_tables(unsigned long addr);
unsigned long acpi_dump_apics(unsigned long current); 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); 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_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); int acpi_create_madt_ioapic(acpi_madt_ioapic_t *ioapic, u8 id, u32 addr,u32 gsi_base);