]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: Introduce ppc_data_endian_env() helper
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 3 Dec 2025 18:08:28 +0000 (19:08 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 3 Feb 2026 13:57:33 +0000 (14:57 +0100)
commit043c4e17151f9d36e093f43fdbff6106e4ce1957
tree316c2eed9292ce5fa4baea929807883d910a4324
parent3b24453f8503d2ae0fe158ff3b311f899a17299d
target/ppc: Introduce ppc_data_endian_env() helper

Introduce ppc_data_endian_env() which returns the endian MemOp
of the data path from the vCPU env pointer. Keep it hardcoded
as MO_TE, the target built-time endianness.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-ID: <20260202210106.93257-6-philmd@linaro.org>
target/ppc/internal.h
target/ppc/mem_helper.c
target/ppc/tcg-excp_helper.c