diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2019-06-24 17:20:37 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-06-09 06:59:44 +0200 |
commit | 6c339493c8dbb709c98f471144eebf74c4cca1ad (patch) | |
tree | 72b93bc2fe7ce6b9c20271a7c16d8ce3de8efb67 /hw | |
parent | 077f0f3dade3dcb38f43cc728fa26c4f6affcdd0 (diff) | |
download | qemu-6c339493c8dbb709c98f471144eebf74c4cca1ad.zip qemu-6c339493c8dbb709c98f471144eebf74c4cca1ad.tar.gz qemu-6c339493c8dbb709c98f471144eebf74c4cca1ad.tar.bz2 |
hw/misc/empty_slot: Lower address space priority
Empty slots model RAZ/WI access on a bus. Since we can still
(hot) plug devices on the bus, lower the slot priority, so
device added later is accessed first.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Artyom Tarasenko <atar4qemu@gmail.com>
Message-Id: <20200510152840.13558-3-f4bug@amsat.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/core/empty_slot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/empty_slot.c b/hw/core/empty_slot.c index 3ba450e..5ab426e 100644 --- a/hw/core/empty_slot.c +++ b/hw/core/empty_slot.c @@ -67,7 +67,7 @@ void empty_slot_init(hwaddr addr, uint64_t slot_size) qdev_init_nofail(dev); - sysbus_mmio_map(s, 0, addr); + sysbus_mmio_map_overlap(s, 0, addr, -10000); } } |