qemu-e2k/hw/char
Philippe Mathieu-Daudé 29daa894b6 hw/char/serial: Clean up unnecessary code
Since commit 5ec3a23e6c ("serial: convert PIO to new memory
api read/write") we don't need to worry about accesses bigger
than 8-bit. Use the extract()/deposit() functions to access
the correct part of the 16-bit 'divider' register.

Reported-by: Jonathan D. Belanger <jbelanger1@rochester.rr.com>
Buglink: https://bugs.launchpad.net/qemu/+bug/1904331
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20201120161933.2514089-1-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-12-10 12:15:10 -05:00
..
avr_usart.c
bcm2835_aux.c
cadence_uart.c hw/char/cadence_uart: add clock support 2020-04-30 15:35:41 +01:00
cmsdk-apb-uart.c
debugcon.c
digic-uart.c
escc.c
etraxfs_ser.c
exynos4210_uart.c
grlib_apbuart.c
ibex_uart.c
imx_serial.c
ipoctal232.c
Kconfig
lm32_juart.c
lm32_uart.c
mcf_uart.c
mchp_pfsoc_mmuart.c
meson.build
milkymist-uart.c
nrf51_uart.c
omap_uart.c
parallel-isa.c
parallel.c
pl011.c
renesas_sci.c
riscv_htif.c
sclpconsole-lm.c
sclpconsole.c
serial-isa.c
serial-pci-multi.c
serial-pci.c
serial.c hw/char/serial: Clean up unnecessary code 2020-12-10 12:15:10 -05:00
sh_serial.c
sifive_uart.c
spapr_vty.c
stm32f2xx_usart.c
terminal3270.c
trace-events
trace.h
virtio-console.c
virtio-serial-bus.c
xen_console.c
xilinx_uartlite.c