Skip to content

target/openrisc: Stop using the legacy native-endian APIs

Philippe Mathieu-Daudé qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target/openrisc: Use explicit big-endian LD/ST APItarget/openrisc/gdbstub.c+1 -10 replies
2/3target/openrisc: Inline translator_ldl()target/openrisc/translate.c+2 -10 replies
3/3configs/targets: Forbid OpenRISC to use legacy native endianness APIsconfigs/targets/or1k-linux-user.mak configs/targets/or1k-softmmu.mak+0 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] target/openrisc: Stop using the legacy native-endian APIs

OpenRISC is always big-endian, making the conversion easy.

Besides a lot of preliminary cleanup are already merged:

. 5b67dbf1dc3 target/openrisc: Replace target_ulong -> uint32_t
. 500708331e3 target/openrisc: Inline tcg_gen_trunc_i64_tl()
. 4f6c60683f2 target/openrisc: Replace MO_TE -> MO_BE
. 73cd283e58d target/openrisc: Introduce mo_endian() helper
. 2f737e19a4d target/openrisc: Conceal MO_TE within do_store()
. 22c36c0a20c target/openrisc: Conceal MO_TE within do_load()
. ef797ac0025 target/openrisc: Explode MO_TExx -> MO_TE | MO_xx
. 81e2fb236b7 target/openrisc: Remove 'TARGET_LONG_BITS != 32' dead code . 9dc4862dc4a target/openrisc: Use vaddr type for $pc jumps
. 2367c94cbb1 target/openrisc: Remove target_ulong use in raise_mmu_exception() . 1843e89bec5 target/openrisc: Remove unused cpu_openrisc_map_address_*() handlers . a3c4facd395 target/openrisc: Do not use target_ulong for @mr in MTSPR helper . 2795bc52af4 target/openrisc: Replace VMSTATE_UINTTL() -> VMSTATE_UINT32()

Philippe Mathieu-Daudé (3):
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 -
 target/openrisc/gdbstub.c           | 2 +-
 target/openrisc/translate.c         | 3 ++-
 4 files changed, 3 insertions(+), 4 deletions(-)
Signature · 1 line
2.52.0