diff options
| author | Philippe Mathieu-Daudé | 2020-09-07 03:15:38 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2020-09-30 19:09:20 +0200 |
| commit | 08516115303c0b72690b3f3ea80149f7a18f961f (patch) | |
| tree | f219200bf96c040bb40efba8b383eab7fd4169a8 /include | |
| parent | hw/mips/mipssim: Use MMIO serial device on fake ISA I/O (diff) | |
| download | qemu-08516115303c0b72690b3f3ea80149f7a18f961f.tar.gz qemu-08516115303c0b72690b3f3ea80149f7a18f961f.tar.xz qemu-08516115303c0b72690b3f3ea80149f7a18f961f.zip | |
hw/char/serial: Remove TYPE_SERIAL_IO
TYPE_SERIAL_IO is a subset of TYPE_SERIAL_MM, and it is
not used anymore. Remove it.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200907011538.818996-3-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/char/serial.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/hw/char/serial.h b/include/hw/char/serial.h index db4f9af18c..23bd7d3dde 100644 --- a/include/hw/char/serial.h +++ b/include/hw/char/serial.h @@ -90,12 +90,6 @@ struct SerialMM { uint8_t endianness; }; -struct SerialIO { - SysBusDevice parent; - - SerialState serial; -}; - extern const VMStateDescription vmstate_serial; extern const MemoryRegionOps serial_io_ops; @@ -107,9 +101,6 @@ OBJECT_DECLARE_SIMPLE_TYPE(SerialState, SERIAL) #define TYPE_SERIAL_MM "serial-mm" OBJECT_DECLARE_SIMPLE_TYPE(SerialMM, SERIAL_MM) -#define TYPE_SERIAL_IO "serial-io" -OBJECT_DECLARE_SIMPLE_TYPE(SerialIO, SERIAL_IO) - SerialMM *serial_mm_init(MemoryRegion *address_space, hwaddr base, int regshift, qemu_irq irq, int baudbase, |
