On 12/25/25 02:21, Philippe Mathieu-Daudé wrote:
Guard the native endian APIs we want to remove by surrounding
them with TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API #ifdef'ry.
Since all targets can check the definition, do not poison it.
Once a target gets cleaned we'll set the definition in the
target config, then the target won't be able to use the legacy
API anymore.
Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
include/system/memory_ldst_phys.h.inc | 2 ++
scripts/make-config-poison.sh | 1 +
2 files changed, 3 insertions(+)
Reviewed-by: Richard Henderson <[email protected]>
r~