xemu/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 hw/char/bcm2835_aux: Allow less than 32-bit accesses 2020-10-08 15:24:32 +01:00
cadence_uart.c
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 nomaintainer: Fix Lesser GPL version number 2020-11-15 17:04:40 +01:00
lm32_uart.c nomaintainer: Fix Lesser GPL version number 2020-11-15 17:04:40 +01:00
mcf_uart.c
mchp_pfsoc_mmuart.c
meson.build
milkymist-uart.c nomaintainer: Fix Lesser GPL version number 2020-11-15 17:04:40 +01:00
nrf51_uart.c
omap_uart.c
parallel-isa.c
parallel.c
pl011.c hw/char/pl011: add a clock input 2020-10-27 11:10:44 +00:00
renesas_sci.c
riscv_htif.c
sclpconsole-lm.c
sclpconsole.c
serial-isa.c hw/char/serial-{isa, pci}: Alias QDEV properties from generic serial object 2020-09-30 19:09:20 +02:00
serial-pci-multi.c
serial-pci.c hw/char/serial-{isa, pci}: Alias QDEV properties from generic serial object 2020-09-30 19:09:20 +02:00
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 hw/char/pl011: add a clock input 2020-10-27 11:10:44 +00:00
trace.h
virtio-console.c
virtio-serial-bus.c
xen_console.c
xilinx_uartlite.c