diff options
author | Bernhard Beschow <shentey@gmail.com> | 2023-02-13 17:19:56 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-05-19 10:30:46 -0400 |
commit | 273d65020b04f8a01e4b5cd543aeef1624b17001 (patch) | |
tree | 49b739fe067b4784f0b7f793a364008bbda43723 /pc-bios | |
parent | bc7b0cac7bf41f24ceb84a03b491f93c378529a4 (diff) | |
download | qemu-273d65020b04f8a01e4b5cd543aeef1624b17001.zip qemu-273d65020b04f8a01e4b5cd543aeef1624b17001.tar.gz qemu-273d65020b04f8a01e4b5cd543aeef1624b17001.tar.bz2 |
hw/pci-host/i440fx: Inline sysbus_add_io()
sysbus_add_io() just wraps memory_region_add_subregion() while also
obscuring where the memory is attached. So use
memory_region_add_subregion() directly and attach it to the existing
memory region s->bus->address_space_io which is set as an alias to
get_system_io() by the pc machine.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230213162004.2797-2-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions