qemu/hw/net/can
Peter Maydell 71182187dd hw/net/can/ctucan_core: Use stl_le_p to write to tx_buffers
Instead of casting an address within a uint8_t array to a
uint32_t*, use stl_le_p(). This handles possibly misaligned
addresses which would otherwise crash on some hosts.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Tested-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2020-11-11 20:34:36 +08:00
..
can_kvaser_pci.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
can_mioe3680_pci.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
can_pcm3680_pci.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
can_sja1000.c hw/net/can: sja1000 ignore CAN FD frames 2020-09-30 19:11:36 +02:00
can_sja1000.h hw/net/can: Make CanBusClientInfo::can_receive() return a boolean 2020-03-31 21:14:35 +08:00
ctu_can_fd_frame.h hw/net/can/ctucafd: Add CTU CAN FD core register definitions. 2020-09-30 19:11:37 +02:00
ctu_can_fd_regs.h hw/net/can/ctucafd: Add CTU CAN FD core register definitions. 2020-09-30 19:11:37 +02:00
ctucan_core.c hw/net/can/ctucan_core: Use stl_le_p to write to tx_buffers 2020-11-11 20:34:36 +08:00
ctucan_core.h hw/net/can/ctucan_core: Handle big-endian hosts 2020-11-11 20:34:36 +08:00
ctucan_pci.c hw/net/can: CTU CAN FD IP open hardware core emulation. 2020-09-30 19:11:37 +02:00
meson.build hw/net/can: CTU CAN FD IP open hardware core emulation. 2020-09-30 19:11:37 +02:00