]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/mips: Replace MO_TE by mo_endian_env() in get_pte()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 26 Sep 2024 16:42:28 +0000 (18:42 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 15 Oct 2024 15:13:59 +0000 (12:13 -0300)
commit2cf8226fcd8b19a94539725a39b6c8242bffa79b
treeeaeb1f577933adcc3e4f3b7e35b7549e35feaedc
parent3e10be75790df93ba2cdb10435860de214128da8
target/mips: Replace MO_TE by  mo_endian_env() in get_pte()

Replace compile-time MO_TE evaluation by runtime mo_endian_env()
one, which expand target endianness from vCPU env.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241010215015.44326-5-philmd@linaro.org>
target/mips/tcg/sysemu/tlb_helper.c