qemu-e2k/hw/vfio
Tony Nguyen d5d680cacc memory: Access MemoryRegion with endianness
Preparation for collapsing the two byte swaps adjust_endianness and
handle_bswap into the former.

Call memory_region_dispatch_{read|write} with endianness encoded into
the "MemOp op" operand.

This patch does not change any behaviour as
memory_region_dispatch_{read|write} is yet to handle the endianness.

Once it does handle endianness, callers with byte swaps can collapse
them into adjust_endianness.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Tony Nguyen <tony.nguyen@bt.com>
Message-Id: <8066ab3eb037c0388dfadfe53c5118429dd1de3a.1566466906.git.tony.nguyen@bt.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2019-09-03 08:30:39 -07:00
..
Kconfig vfio-pci: enable by default 2019-03-11 14:45:10 +01:00
Makefile.objs hw/vfio/Makefile.objs: Create new CONFIG_* variables for VFIO core and PCI 2019-02-05 16:50:21 +01:00
amd-xgbe.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
ap.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
calxeda-xgmac.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
ccw.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
common.c Include qemu/main-loop.h less 2019-08-16 13:31:52 +02:00
display.c vfio/display: set dmabuf modifier field 2019-06-07 11:52:35 +02:00
pci-quirks.c memory: Access MemoryRegion with endianness 2019-09-03 08:30:39 -07:00
pci.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
pci.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
platform.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
spapr.c exec: Introduce qemu_maxrampagesize() and rename qemu_getrampagesize() 2019-04-25 13:47:27 +02:00
trace-events spapr: Support NVIDIA V100 GPU with NVLink2 2019-04-26 10:41:23 +10:00