提交 73540ca9 编写于 作者: B bellard

alignment fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1910 c046a42c-6fe2-441c-8c8c-71466251a162
上级 064aae13
......@@ -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 +
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册