On 3/10/25 21:08, Pierrick Bouvier wrote:
Defining functions allows to use them from common code, by not depending
on TARGET_BIG_ENDIAN.
Remove previous macros from exec/cpu-all.h.
By moving them out of cpu-all.h, we'll be able to break dependency on
cpu.h for memory related functions coming in next commits.
Signed-off-by: Pierrick Bouvier<pierrick.bouv...@linaro.org>
---
include/exec/cpu-all.h | 25 ---------------
include/exec/tswap.h | 70 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+), 25 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~