Commit 6c339493 authored by Philippe Mathieu-Daudé's avatar Philippe Mathieu-Daudé
Browse files

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: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: default avatarArtyom Tarasenko <atar4qemu@gmail.com>
Message-Id: <20200510152840.13558-3-f4bug@amsat.org>
parent 077f0f3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
    }
}