On 3/6/25 08:39, Peter Maydell wrote:
In linux-user/arm/cpu_loop.c we define a full set of get/put
macros for both code and data (since the endianness handling
is different between the two). However the only one we actually
use is get_user_code_u32(). Remove the rest.
We leave a comment noting how data-side accesses should be handled
for big-endian, because that's a subtle point and we just removed the
macros that were effectively documenting it.
Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
---
linux-user/arm/cpu_loop.c | 43 ++++-----------------------------------
1 file changed, 4 insertions(+), 39 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~