From: Hervé Poussineau Date: Sun, 18 Sep 2011 16:04:51 +0000 (+0200) Subject: isapc: give system address space when pci is disabled X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~5262 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c1d23eaccc5020bb546a4391a0b2abf8ee861923;p=sdk%2Femulator%2Fqemu.git isapc: give system address space when pci is disabled Signed-off-by: Jan Kiszka Signed-off-by: Hervé Poussineau Signed-off-by: Anthony Liguori --- diff --git a/hw/pc_piix.c b/hw/pc_piix.c index ec7da6d..0144534 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -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()) {