Hi; this pullreq gathers up a set of patches I've sent recently which have got code review but fall between stools somewhat because they touch files in various places across the tree; it seemed easiest just to put them all in a pullrequest and send it out.
thanks -- PMM The following changes since commit a5bd4470ed34b7cf49bda7ea3dcad3a269c99ada: Merge remote-tracking branch 'remotes/sstabellini/xen-2015-01-20-v2' into staging (2015-01-20 14:34:38 +0000) are available in the git repository at: git://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-misc-20150120 for you to fetch changes up to de5ee4a888667ca0a198f0743d70075d70564117: cpu_ldst.h: Don't define helpers if MMU_MODE*_SUFFIX not defined (2015-01-20 15:19:35 +0000) ---------------------------------------------------------------- Miscellaneous cross-tree patches: * load/store helper cleanup * drop TARGET_HAS_ICE define and checks * scripts/qapi-types.py: Add dummy member to empty structs * cpu_ldst.h: Don't define helpers if MMU_MODE*_SUFFIX not defined ---------------------------------------------------------------- Peter Maydell (18): scripts/qapi-types.py: Add dummy member to empty structs exec.c: Drop TARGET_HAS_ICE define and checks cpu_ldst.h: Remove unused ldul_ macros monitor.c: Use ld*_p() instead of ld*_raw() target-sparc: Don't use {ld, st}*_raw functions linux-user/elfload.c: Don't use _raw accessor functions bsd-user/elfload.c: Don't use ldl() or ldq_raw() linux-user/vm86.c: Use cpu_ldl_data &c rather than plain ldl &c linux-user/main.c (m68k): Use get_user_u16 rather than lduw in cpu_loop target-mips: Don't use _raw load/store accessors cpu_ldst.h: Drop unused ld/st*_kernel defines cpu_ldst.h: Remove unused very short ld*/st* defines cpu_ldst.h: Use inline functions for usermode cpu_ld/st accessors cpu_ldst_template.h: Use ld*_p directly rather than via ld*_raw macros cpu_ldst.h: Drop unused _raw macros, saddr() and laddr() cpu_ldst_template.h: Drop unused cpu_ldfq/stfq/ldfl/stfl accessors cpu_ldst.h, cpu-all.h, bswap.h: Update documentation on ld/st accessors cpu_ldst.h: Don't define helpers if MMU_MODE*_SUFFIX not defined bsd-user/elfload.c | 11 +- exec.c | 16 --- include/exec/cpu-all.h | 38 +------ include/exec/cpu_ldst.h | 174 ++++++++++-------------------- include/exec/cpu_ldst_template.h | 60 +---------- include/exec/cpu_ldst_useronly_template.h | 81 ++++++++++++++ include/qemu/bswap.h | 11 +- linux-user/elfload.c | 7 +- linux-user/main.c | 6 +- linux-user/vm86.c | 57 +++++----- monitor.c | 8 +- scripts/qapi-types.py | 8 ++ target-alpha/cpu.h | 2 - target-arm/cpu.h | 2 - target-cris/cpu.h | 2 - target-i386/cpu.h | 2 - target-i386/seg_helper.c | 16 ++- target-lm32/cpu.h | 2 - target-m68k/cpu.h | 2 - target-microblaze/cpu.h | 2 - target-mips/cpu.h | 1 - target-mips/op_helper.c | 4 +- target-moxie/cpu.h | 2 - target-ppc/cpu.h | 2 - target-s390x/cpu.h | 2 - target-sh4/cpu.h | 1 - target-sparc/cpu.h | 2 - target-sparc/ldst_helper.c | 24 ++--- target-xtensa/cpu.h | 2 - translate-all.c | 4 +- 30 files changed, 242 insertions(+), 309 deletions(-) create mode 100644 include/exec/cpu_ldst_useronly_template.h