aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/stm32l4x5_exti.h
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2024-11-04 17:35:04 +0100
committerAlistair Francis <alistair.francis@wdc.com>2024-11-07 08:16:53 +1000
commitb069018e2fe1fc613f5eeecc810050210e845528 (patch)
tree0d846d9aa1891f6eb17189bdd26a89ead9a2e9aa /include/hw/misc/stm32l4x5_exti.h
parent63dc36944383f70f1c7a20f6104966d8560300fa (diff)
downloadqemu-b069018e2fe1fc613f5eeecc810050210e845528.zip
qemu-b069018e2fe1fc613f5eeecc810050210e845528.tar.gz
qemu-b069018e2fe1fc613f5eeecc810050210e845528.tar.bz2
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>
Diffstat (limited to 'include/hw/misc/stm32l4x5_exti.h')
0 files changed, 0 insertions, 0 deletions