]> Git Repo - qemu.git/commitdiff
alignment fix
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 8 May 2006 13:38:46 +0000 (13:38 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 8 May 2006 13:38:46 +0000 (13:38 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1910 c046a42c-6fe2-441c-8c8c-71466251a162

hw/acpi.c

index 40fc3345f10e14a6c89854a4007dd4575f9d147e..3ffdfdddbfbff79537d53234246cd3b79c1e13b4 100644 (file)
--- 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 +
This page took 0.026564 seconds and 4 git commands to generate.