提交 0d3cf3b6 编写于 作者: J Jan Kiszka 提交者: Stefan Hajnoczi

pc: Drop redundant test for ROM memory region

Just a few lines above, we already initialize rom_memory accordingly.
Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
上级 8b9c99d9
......@@ -178,7 +178,7 @@ static void pc_init1(MemoryRegion *system_memory,
fw_cfg = pc_memory_init(system_memory,
kernel_filename, kernel_cmdline, initrd_filename,
below_4g_mem_size, above_4g_mem_size,
pci_enabled ? rom_memory : system_memory, &ram_memory);
rom_memory, &ram_memory);
}
gsi_state = g_malloc0(sizeof(*gsi_state));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册