aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-08 13:38:46 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-08 13:38:46 +0000
commit73540ca962d94c4bfc8fd178590172f0a9f81bfc (patch)
tree34854afd0ca6841730d61d7e21517042c4d68f61 /hw
parent064aae138b1b26d326603c5c46763e6bde4bf5f2 (diff)
downloadqemu-73540ca962d94c4bfc8fd178590172f0a9f81bfc.zip
qemu-73540ca962d94c4bfc8fd178590172f0a9f81bfc.tar.gz
qemu-73540ca962d94c4bfc8fd178590172f0a9f81bfc.tar.bz2
alignment fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1910 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/acpi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/acpi.c b/hw/acpi.c
index 40fc334..3ffdfdd 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 +