提交 c1d23eac 编写于 作者: H Hervé Poussineau 提交者: Anthony Liguori

isapc: give system address space when pci is disabled

Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: NHervé Poussineau <hpoussin@reactos.org>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 e098fc3f
......@@ -127,7 +127,7 @@ static void pc_init1(MemoryRegion *system_memory,
pc_memory_init(system_memory,
kernel_filename, kernel_cmdline, initrd_filename,
below_4g_mem_size, above_4g_mem_size,
rom_memory, &ram_memory);
pci_enabled ? rom_memory : system_memory, &ram_memory);
}
if (!xen_enabled()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册