unicorn/qemu/include/exec
Peter Maydell ff9c67b8f0
cpu_ldst.h: Don't define helpers if MMU_MODE*_SUFFIX not defined
Not all targets define a full set of suffix strings for the
NB_MMU_MODES that they have. In this situation, don't define any
helper functions for that mode, rather than defining helper functions
with no suffix at all. The MMU mode is still functional; it is merely
not directly accessible via cpu_ld*_MODE from target helper functions.

Also add an "NB_MMU_MODES >= 2" check to the definition of the mode 1
helpers -- some targets only define one MMU mode.

Backports commit de5ee4a888667ca0a198f0743d70075d70564117 from qemu
2019-04-22 07:44:32 -04:00
..
address-spaces.h Clean up header guards that don't match their file name 2018-02-25 04:18:42 -05:00
cpu-all.h cpu_ldst.h, cpu-all.h, bswap.h: Update documentation on ld/st accessors 2019-04-22 07:39:13 -04:00
cpu-common.h cpu: Introduce a wrapper for tlb_flush() that can be used in common code 2018-03-03 21:24:55 -05:00
cpu-defs.h cpu-defs.h: Document CPUIOTLBEntry 'addr' field 2018-06-15 12:07:39 -04:00
cpu_ldst.h cpu_ldst.h: Don't define helpers if MMU_MODE*_SUFFIX not defined 2019-04-22 07:44:32 -04:00
cpu_ldst_template.h cpu_ldst_template.h: Drop unused cpu_ldfq/stfq/ldfl/stfl accessors 2019-04-22 07:21:03 -04:00
cpu_ldst_useronly_template.h cpu_ldst.h: Use inline functions for usermode cpu_ld/st accessors 2019-04-22 07:08:39 -04:00
cputlb.h exec: Drop unnecessary code for unicorn 2018-03-12 10:11:46 -04:00
exec-all.h exec: Backport tb_cflags accessor 2019-04-22 06:12:59 -04:00
gen-icount.h gen-icount: Use tcg_ctx where applicable in commented out code 2019-04-22 06:17:10 -04:00
helper-gen.h target/arm: Implement SVE Integer Multiply-Add Group 2018-05-20 04:35:36 -04:00
helper-head.h include/exec/helper-head.h: support "const void *" in helper calls 2019-02-22 19:12:09 -05:00
helper-proto.h tcg: Allow 6 arguments to TCG helpers 2018-03-17 18:29:04 -04:00
helper-tcg.h tcg: Add TCG_CALL_NO_RETURN 2019-01-05 06:35:21 -05:00
hwaddr.h qemu-common: push cpu.h inclusion out of qemu-common.h 2018-02-24 01:50:56 -05:00
ioport.h hw: remove pio_addr_t 2018-02-24 02:43:16 -05:00
memattrs.h exec: Add target-specific tlb bits to MemTxAttrs 2019-02-05 17:00:56 -05:00
memory-internal.h memory: Rename mem_begin/mem_commit/mem_add helpers 2018-03-11 21:36:50 -04:00
memory.h target: Resolve repeated typedef warnings 2019-01-22 20:27:35 -05:00
ram_addr.h exec: Drop unnecessary code for unicorn 2018-03-12 10:11:46 -04:00
ramlist.h memory: RCU ram_list.dirty_memory[] for safe RAM hotplug 2018-02-22 15:38:03 -05:00
semihost.h exec: Add semihosting stubs 2018-02-17 15:23:33 -05:00
tb-context.h tcg: allocate TB structs before the corresponding translated code 2018-03-03 17:05:49 -05:00
tb-hash.h include: move exec/tb-hash-xx.h to qemu/xxhash.h 2018-12-18 06:07:55 -05:00
tb-lookup.h exec: Backport tb_cflags accessor 2019-04-22 06:12:59 -04:00
translator.h translator: merge max_insns into DisasContextBase 2018-05-11 13:59:17 -04:00