qemu/hw/net/can
Marc-André Lureau e03b56863d Replace config-time define HOST_WORDS_BIGENDIAN
Replace a config-time define with a compile time condition
define (compatible with clang and gcc) that must be declared prior to
its usage. This avoids having a global configure time define, but also
prevents from bad usage, if the config header wasn't included before.

This can help to make some code independent from qemu too.

gcc supports __BYTE_ORDER__ from about 4.6 and clang from 3.2.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
[ For the s390x parts I'm involved in ]
Acked-by: Halil Pasic <pasic@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220323155743.1585078-7-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-04-06 10:50:37 +02:00
..
can_kvaser_pci.c Remove unnecessary minimum_version_id_old fields 2022-01-28 15:38:23 +01:00
can_mioe3680_pci.c Remove unnecessary minimum_version_id_old fields 2022-01-28 15:38:23 +01:00
can_pcm3680_pci.c Remove unnecessary minimum_version_id_old fields 2022-01-28 15:38:23 +01:00
can_sja1000.c Remove unnecessary minimum_version_id_old fields 2022-01-28 15:38:23 +01: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 Remove unnecessary minimum_version_id_old fields 2022-01-28 15:38:23 +01:00
ctucan_core.h Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
ctucan_pci.c Remove unnecessary minimum_version_id_old fields 2022-01-28 15:38:23 +01:00
meson.build hw/net/can: Introduce Xilinx ZynqMP CAN controller 2020-12-10 11:30:44 +00:00
trace-events hw/net/can: Introduce Xilinx ZynqMP CAN controller 2020-12-10 11:30:44 +00:00
trace.h hw/net/can: Introduce Xilinx ZynqMP CAN controller 2020-12-10 11:30:44 +00:00
xlnx-zynqmp-can.c Do not include sysemu/sysemu.h if it's not really necessary 2021-05-02 17:24:50 +02:00