mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-12 14:15:07 +00:00
alignment fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1910 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
064aae138b
commit
73540ca962
@ -522,6 +522,7 @@ void acpi_bios_init(void)
|
|||||||
dsdt = (void *)(phys_ram_base + addr);
|
dsdt = (void *)(phys_ram_base + addr);
|
||||||
addr += sizeof(AmlCode);
|
addr += sizeof(AmlCode);
|
||||||
|
|
||||||
|
addr = (addr + 7) & ~7;
|
||||||
madt_addr = addr;
|
madt_addr = addr;
|
||||||
madt_size = sizeof(*madt) +
|
madt_size = sizeof(*madt) +
|
||||||
sizeof(struct madt_processor_apic) * smp_cpus +
|
sizeof(struct madt_processor_apic) * smp_cpus +
|
||||||
|
Loading…
Reference in New Issue
Block a user