From da7e0b01f285ca9fcb44d5f87e6c6034bf0cd20f Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 8 May 2006 13:38:46 +0000 Subject: [PATCH] alignment fix --- hw/acpi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/acpi.c b/hw/acpi.c index 40fc3345..3ffdfddd 100644 --- a/hw/acpi.c +++ b/hw/acpi.c @@ -521,7 +521,8 @@ void acpi_bios_init(void) dsdt_addr = addr; dsdt = (void *)(phys_ram_base + addr); addr += sizeof(AmlCode); - + + addr = (addr + 7) & ~7; madt_addr = addr; madt_size = sizeof(*madt) + sizeof(struct madt_processor_apic) * smp_cpus + -- 2.39.5