On 12/18/25 01:31, Philippe Mathieu-Daudé wrote:
Like we do for other LD/ST APIs, use one template to declare and
define all endianness variants of the address_space_lduw() methods.
Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
MAINTAINERS | 2 +
include/exec/memory_ldst.h.inc | 21 ++++----
include/exec/memory_ldst_phys.h.inc | 45 ++++------------
include/system/memory_ldst_endian.h.inc | 25 +++++++++
include/system/memory_ldst_phys_endian.h.inc | 37 ++++++++++++++
system/memory_ldst.c.inc | 54 +++++---------------
system/memory_ldst_endian.c.inc | 42 +++++++++++++++
7 files changed, 136 insertions(+), 90 deletions(-)
create mode 100644 include/system/memory_ldst_endian.h.inc
create mode 100644 include/system/memory_ldst_phys_endian.h.inc
create mode 100644 system/memory_ldst_endian.c.inc
Reviewed-by: Richard Henderson <[email protected]>
r~