unicorn/qemu/include/exec
Peter Maydell 8295b228e3
bswap: Add new stn_*_p() and ldn_*_p() memory access functions
There's a common pattern in QEMU where a function needs to perform
a data load or store of an N byte integer in a particular endianness.
At the moment this is handled by doing a switch() on the size and
calling the appropriate ld*_p or st*_p function for each size.

Provide a new family of functions ldn_*_p() and stn_*_p() which
take the size as an argument and do the switch() themselves.

Backports commit afa4f6653dca095f63f3fe7f2001e9334f5676c1 from qemu
2018-06-15 12:17:21 -04:00
..
address-spaces.h
cpu-all.h bswap: Add new stn_*_p() and ldn_*_p() memory access functions 2018-06-15 12:17:21 -04: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
cpu_ldst_template.h
cputlb.h
exec-all.h cputlb: Pass cpu_transaction_failed() the correct physaddr 2018-06-15 12:03:23 -04:00
gen-icount.h tcg: Pass tb and index to tcg_gen_exit_tb separately 2018-06-07 11:56:32 -04:00
helper-gen.h target/arm: Implement SVE Integer Multiply-Add Group 2018-05-20 04:35:36 -04:00
helper-head.h tcg: Fix helper function vs host abi for float16 2018-06-02 10:10:12 -04:00
helper-proto.h
helper-tcg.h
hwaddr.h
ioport.h
memattrs.h
memory-internal.h
memory.h
ram_addr.h
ramlist.h
semihost.h
tb-context.h
tb-hash-xx.h
tb-hash.h
tb-lookup.h
translator.h