AVR is little-endian. Use the explicit 'little' endianness instead of the 'native' one. Forbid further uses of legacy APIs.
tag: https://gitlab.com/philmd/qemu/-/tags/endian_avr-v1 CI: https://gitlab.com/philmd/qemu/-/pipelines/2231223066 Philippe Mathieu-Daudé (3): hw/avr: Mark AVR-specific peripherals as little-endian target/avr: Inline translator_lduw() configs/targets: Forbid AVR to use legacy native endianness API configs/targets/avr-softmmu.mak | 1 + hw/char/avr_usart.c | 2 +- hw/misc/avr_power.c | 2 +- hw/timer/avr_timer16.c | 6 +++--- target/avr/helper.c | 4 ++-- target/avr/translate.c | 2 +- 6 files changed, 9 insertions(+), 8 deletions(-) -- 2.52.0
