diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-10-23 17:50:06 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-01-07 17:23:30 +0400 |
commit | 490a9d9b36bfa22a6b46b27e6e9e84e1bac44c68 (patch) | |
tree | 43f06f0768176835bf5eff8911687c9721e3fb1e /hw/mips/boston.c | |
parent | b9975000a008c5b0801e3d24ed113a1bd2767ed5 (diff) | |
download | qemu-490a9d9b36bfa22a6b46b27e6e9e84e1bac44c68.zip qemu-490a9d9b36bfa22a6b46b27e6e9e84e1bac44c68.tar.gz qemu-490a9d9b36bfa22a6b46b27e6e9e84e1bac44c68.tar.bz2 |
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>
Diffstat (limited to 'hw/mips/boston.c')
-rw-r--r-- | hw/mips/boston.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips/boston.c b/hw/mips/boston.c index ca7d813..23fdd5e 100644 --- a/hw/mips/boston.c +++ b/hw/mips/boston.c @@ -50,7 +50,7 @@ typedef struct { MachineState *mach; MIPSCPSState cps; - SerialState *uart; + SerialMM *uart; CharBackend lcd_display; char lcd_content[8]; |