@samitouri / QOSamiQemu / commits / 62d04afa68

configs/targets: Restrict the legacy ldst_phys() API on LoongArch64

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>

Philippe Mathieu-Daudé committed Mar 18, 2026 at 14:17 UTC 62d04afa68b405ac8d9c6f185cdb24e01cc3eaa1
1 file changed +1
configs/targets/loongarch64-softmmu.mak
+1
@@ -6,3 +6,4 @@ TARGET_XML_FILES= loongarch-base32.xml loongarch-base64.xml loongarch-fpu.xml lo
6 TARGET_NEED_FDT=y
7 TARGET_LONG_BITS=64
8 TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API=y
9 +TARGET_NOT_USING_LEGACY_LDST_PHYS_API=y