You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/char
Thomas Huth b069018e2f hw/char/sifive_uart: Fix broken UART on big endian hosts
Casting a "uint32_t *" to a "uint8_t *" to get to the lowest 8-bit
part of the value does not work on big endian hosts. We've got to
take the proper detour through an 8-bit variable.

Fixes: 53c1557b23 ("hw/char: sifive_uart: Print uart characters async")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20241104163504.305955-1-thuth@redhat.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
4 weeks ago
..
Kconfig hw/char: Extract serial-mm 2 months ago
avr_usart.c hw/char: replace assert(0) with g_assert_not_reached() 3 months ago
bcm2835_aux.c hw/char/bcm2835_aux: Fix assert when receive FIFO fills up 4 months ago
cadence_uart.c hw, target: Add ResetType argument to hold and exit phase methods 7 months ago
cmsdk-apb-uart.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
debugcon.c qdev: Move softmmu properties to qdev-properties-system.h 4 years ago
digic-uart.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
escc.c hw/char/escc: convert Sun mouse to use QemuInputHandler 3 months ago
exynos4210_uart.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
goldfish_tty.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
grlib_apbuart.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
ibex_uart.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
imx_serial.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
ipoctal232.c hw/char: Constify VMState 11 months ago
mcf_uart.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
mchp_pfsoc_mmuart.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
meson.build hw/char: Extract serial-mm 2 months ago
nrf51_uart.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
omap_uart.c * pc: Add a description for the i8042 property 2 months ago
parallel-isa.c hw/char/parallel-isa: Implement relocation and enabling/disabling for TYPE_ISA_PARALLEL 10 months ago
parallel.c hw/char/parallel: Move portio_list from ParallelState to ISAParallelState 10 months ago
pl011.c hw/char/pl011: Use correct masks for IBRD and FBRD 2 months ago
renesas_sci.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
riscv_htif.c hw/char: riscv_htif: Use blocking qemu_chr_fe_write_all 1 month ago
sclpconsole-lm.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
sclpconsole.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
serial-isa.c hw/char/serial.h: Extract serial-isa.h 2 months ago
serial-mm.c hw/char: Extract serial-mm 2 months ago
serial-pci-multi.c hw/char: Constify VMState 11 months ago
serial-pci.c hw/char: Constify VMState 11 months ago
serial.c * pc: Add a description for the i8042 property 2 months ago
sh_serial.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
shakti_uart.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
sifive_uart.c hw/char/sifive_uart: Fix broken UART on big endian hosts 4 weeks ago
spapr_vty.c hw/char: Constify VMState 11 months ago
stm32f2xx_usart.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago
stm32l4x5_usart.c hw/char/stm32l4x5_usart.c: Enable USART ACK bit response 3 months ago
terminal3270.c s390x: css: report errors from ccw_dstream_read/write 4 years ago
trace-events hw/char/pl011: Rename RX FIFO methods 3 months ago
trace.h trace: switch position of headers to what Meson requires 4 years ago
virtio-console.c hw/char: Have FEWatchFunc handlers return G_SOURCE_CONTINUE/REMOVE 1 year ago
virtio-serial-bus.c hw/char/virtio-serial-bus: Protect from DMA re-entrancy bugs 8 months ago
xen_console.c hw/char/xen_console: Fix missing ERRP_GUARD() for error_prepend() 9 months ago
xilinx_uartlite.c hw: Use device_class_set_legacy_reset() instead of opencoding 3 months ago