Lines Matching refs:madt
275 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()
451 acpi_create_madt(madt); in write_acpi_tables()
452 current += madt->header.length; in write_acpi_tables()
453 acpi_add_table(rsdp, madt); in write_acpi_tables()