Home
last modified time | relevance | path

Searched refs:madt (Results 1 – 1 of 1) sorted by relevance

/external/u-boot/arch/x86/lib/
Dacpi_table.c275 static void acpi_create_madt(struct acpi_madt *madt) in acpi_create_madt() argument
277 struct acpi_table_header *header = &(madt->header); in acpi_create_madt()
278 u32 current = (u32)madt + sizeof(struct acpi_madt); in acpi_create_madt()
280 memset((void *)madt, 0, sizeof(struct acpi_madt)); in acpi_create_madt()
287 madt->lapic_addr = LAPIC_DEFAULT_BASE; in acpi_create_madt()
288 madt->flags = ACPI_MADT_PCAT_COMPAT; in acpi_create_madt()
293 header->length = current - (u32)madt; in acpi_create_madt()
295 header->checksum = table_compute_checksum((void *)madt, header->length); in acpi_create_madt()
374 struct acpi_madt *madt; in write_acpi_tables() local
450 madt = (struct acpi_madt *)current; in write_acpi_tables()
[all …]