commit | 89da90b1b4acf24a9a3f2fd197b1bdf69ab24e72 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Wed Aug 24 22:09:41 2011 +0300 |
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | Wed Aug 24 21:11:21 2011 +0200 |
tree | f406329b8d5c6992681d0ad47bd04752a40c0601 | |
parent | e8906f3529a452276375ab8e7b8598751bc33b01 [diff] |
gt64xxx: fix crash in gt64120_pci_mapping() The map/unmap code was assymetric - unmap used the local MemoryRegion while map used isa_mmio_init(), which cannot handle dynamic mappings. Fix by using isa_mmio_setup() and the local MemoryRegion. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>