]> git.ipfire.org Git - thirdparty/qemu.git/commit
mips: use sysbus_add_io()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 20 Nov 2019 09:41:10 +0000 (13:41 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Jan 2020 13:24:29 +0000 (17:24 +0400)
commit4f1733d4c0cdc01f6425683df7dffbc69351a323
tree7bcc8288526d741c9865fcdb1f40c187d63a4470
parentf90f2cf7ae77bd85a8439b0abcc05d88c8cc0cb7
mips: use sysbus_add_io()

sysbus devices should use the associated helper function instead of
calling memory_region_add_subregion() manually. This simplifies
slightly the code.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/mips/mips_mipssim.c