mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
serial: start making SerialMM a sysbus device
Memory mapped serial device is in fact a sysbus device. The following patches will make use of sysbus facilities for resource and registration. In particular, "serial-mm: use sysbus facilities" will move internal serial realization to serial_mm_realize callback to follow qdev best practices. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
b9975000a0
commit
490a9d9b36
5 changed files with 73 additions and 25 deletions
|
@ -27,7 +27,7 @@
|
|||
struct omap_uart_s {
|
||||
MemoryRegion iomem;
|
||||
hwaddr base;
|
||||
SerialState *serial; /* TODO */
|
||||
SerialMM *serial; /* TODO */
|
||||
struct omap_target_agent_s *ta;
|
||||
omap_clk fclk;
|
||||
qemu_irq irq;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue