]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
configs/targets: Restrict the legacy ldst_phys() API on LoongArch64
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 18 Mar 2026 13:17:40 +0000 (14:17 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 6 May 2026 10:58:07 +0000 (12:58 +0200)
The LoongArch64 target doesn't use the legacy ldst_phys() API
anymore. Set the TARGET_NOT_USING_LEGACY_LDST_PHYS_API variable
to hide the legacy API to the qemu-system-loongarch64 binary,
avoiding further API uses to creep in.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20260319104944.66690-3-philmd@linaro.org>

configs/targets/loongarch64-softmmu.mak

index 476407f9413df58849217c8b6a4b8a6e3b93da23..a425b3dbaae719702abd8234f2873ca1e2235bc4 100644 (file)
@@ -6,3 +6,4 @@ TARGET_XML_FILES= loongarch-base32.xml loongarch-base64.xml loongarch-fpu.xml lo
 TARGET_NEED_FDT=y
 TARGET_LONG_BITS=64
 TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API=y
+TARGET_NOT_USING_LEGACY_LDST_PHYS_API=y