[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/sysbus: Inline and remove sysbus_add_io()
From: |
Peter Maydell |
Subject: |
Re: [PATCH] hw/sysbus: Inline and remove sysbus_add_io() |
Date: |
Tue, 20 Feb 2024 14:04:01 +0000 |
On Fri, 16 Feb 2024 at 15:05, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
>
> sysbus_add_io(...) is a simple wrapper to
> memory_region_add_subregion(get_system_io(), ...).
> It is used in 3 places; inline it directly.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> include/hw/sysbus.h | 2 --
> hw/core/sysbus.c | 6 ------
> hw/i386/kvmvapic.c | 2 +-
> hw/mips/mipssim.c | 2 +-
> hw/nvram/fw_cfg.c | 5 +++--
> 5 files changed, 5 insertions(+), 12 deletions(-)
>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM