unicorn/qemu/include/exec
David Hildenbrand 8583c8f1f6
include/exec/helper-head.h: support "const void *" in helper calls
Especially when dealing with out-of-line gvec helpers, it is often
helpful to specify some vector pointers as constant. E.g. when
we have two inputs and one output, marking the two inputs as consts
pointers helps to avoid bugs.

Const pointers can be specified via "cptr", however behave in TCG just
like ordinary pointers. We can specify helpers like:

DEF_HELPER_FLAGS_4(gvec_vbperm, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)

void HELPER(gvec_vbperm)(void *v1, const void *v2, const void *v3,
uint32_t desc)

And make sure that here, only v1 will be written (as long as const is
not casted away, of course).

Backports commit 8c6edfdd90522caa4fc429144d393aba5b99f584 from qemu
2019-02-22 19:12:09 -05:00
..
address-spaces.h
cpu-all.h tcg: Support MMU protection regions smaller than TARGET_PAGE_SIZE 2018-11-16 21:35:54 -05:00
cpu-common.h
cpu-defs.h cpu-defs.h: Document CPUIOTLBEntry 'addr' field 2018-06-15 12:07:39 -04:00
cpu_ldst.h cputlb: read CPUTLBEntry.addr_write atomically 2018-10-23 15:37:43 -04:00
cpu_ldst_template.h cputlb: read CPUTLBEntry.addr_write atomically 2018-10-23 15:37:43 -04:00
cputlb.h
exec-all.h exec-all: document that tlb_fill can trigger a TLB resize 2019-02-12 11:38:28 -05:00
gen-icount.h
helper-gen.h
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
helper-tcg.h tcg: Add TCG_CALL_NO_RETURN 2019-01-05 06:35:21 -05:00
hwaddr.h
ioport.h
memattrs.h exec: Add target-specific tlb bits to MemTxAttrs 2019-02-05 17:00:56 -05:00
memory-internal.h
memory.h target: Resolve repeated typedef warnings 2019-01-22 20:27:35 -05:00
ram_addr.h
ramlist.h
semihost.h
tb-context.h
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
translator.h