OpenRISC is big-endian. Use the explicit 'big' endianness instead of the 'native' one. Forbid further uses of legacy APIs.
tag: https://gitlab.com/philmd/qemu/-/tags/endian_openrisc-v1 CI: https://gitlab.com/philmd/qemu/-/pipelines/2231223066 Philippe Mathieu-Daudé (4): hw/intc: Mark OpenRISC-specific peripheral as big-endian target/openrisc: Use explicit big-endian LD/ST API target/openrisc: Inline translator_ldl() configs/targets: Forbid OpenRISC to use legacy native endianness APIs configs/targets/or1k-linux-user.mak | 1 + configs/targets/or1k-softmmu.mak | 1 + hw/intc/ompic.c | 2 +- target/openrisc/gdbstub.c | 2 +- target/openrisc/translate.c | 3 ++- 5 files changed, 6 insertions(+), 3 deletions(-) -- 2.52.0
