Re: [PATCH v2 13/28] serial: factor out serial_mm_connect

2019-10-22 Thread Peter Maydell
On Tue, 22 Oct 2019 at 17:23, Marc-André Lureau wrote: > > Split IRQ and memory region initialization in a different function to > be reused by callers that realize the serial device themself, and > connect irq/mem after. > > Signed-off-by: Marc-André Lureau > --- > hw/char/serial.c | 20

[PATCH v2 13/28] serial: factor out serial_mm_connect

2019-10-22 Thread Marc-André Lureau
Split IRQ and memory region initialization in a different function to be reused by callers that realize the serial device themself, and connect irq/mem after. Signed-off-by: Marc-André Lureau --- hw/char/serial.c | 20 +--- include/hw/char/serial.h | 3 +++ 2 files chang