qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 20/37] mips: use sysbus_mmio_get_region() instead of inter


From: Peter Maydell
Subject: Re: [PATCH v4 20/37] mips: use sysbus_mmio_get_region() instead of internal fields
Date: Thu, 21 Nov 2019 13:48:26 +0000

On Wed, 20 Nov 2019 at 15:28, Marc-André Lureau
<address@hidden> wrote:
>
> Register the memory region with sysbus_init_mmio() and look it up with
> sysbus_mmio_get_region() to avoid accessing internal device fields.
>
> Suggested-by: Peter Maydell <address@hidden>
> Signed-off-by: Marc-André Lureau <address@hidden>
> ---
>  hw/char/serial.c       | 1 +
>  hw/mips/mips_mipssim.c | 3 ++-

Reviewed-by: Peter Maydell <address@hidden>

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]