pc: Unbreak ROM mapping for ISA machine
commit4463aee630685a6ac595b1acc777536f0a41d02d
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 21 Sep 2011 18:49:29 +0000 (21 20:49 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 23 Sep 2011 15:55:33 +0000 (23 10:55 -0500)
treec9b04bde9b8424b92eeb56abf555d862e806b0ef
parentdd8e93799f13ef82d83c185b8e71e049452f7d40
pc: Unbreak ROM mapping for ISA machine

This is based on the original fix by HervĂ© Poussineau: pc_memory_init
actually takes a memory region for mapping BIOS and extension ROMs. That
equals the PCI memory region if PCI is available, but must be system
memory in the ISA case.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc.c
hw/pc.h
hw/pc_piix.c