unicorn/qemu
Paolo Bonzini 5c85c564b5
exec: Atomic access to bounce buffer
There could be a race condition when two processes call
address_space_map concurrently and both want to use the bounce buffer.

Add an in_use flag in BounceBuffer to sync it.

Backports commit c2cba0ffe495b60c4cc58080281e99c7a6580d4b from qemu
2018-02-12 21:00:17 -05:00
..
default-configs
docs docs: clarify memory region lifecycle 2018-02-12 15:11:21 -05:00
fpu softfloat: expand out STATUS macro 2018-02-12 13:43:13 -05:00
hw target-i386: clear bsp bit when designating bsp 2018-02-12 16:40:35 -05:00
include target-arm: Add user-mode transaction attribute 2018-02-12 20:41:58 -05:00
qapi
qobject
qom qom: Fix object_property_add_alias() with [*] 2018-02-12 16:33:58 -05:00
scripts
target-arm Allow ARMv8 SCR.SMD updates 2018-02-12 20:48:34 -05:00
target-i386 target-i386: Remove AMD feature flag aliases from CPU model table 2018-02-12 20:55:52 -05:00
target-m68k target-*: Increment num_insns immediately after tcg_gen_insn_start 2018-02-11 12:46:30 -05:00
target-mips target-mips: save cpu state before calling MSA load and store helpers 2018-02-12 16:31:17 -05:00
target-sparc target-*: Increment num_insns immediately after tcg_gen_insn_start 2018-02-11 12:46:30 -05:00
tcg tcg: Allow extra data to be attached to insn_start 2018-02-11 13:03:51 -05:00
util
aarch64.h exec.c: Add new address_space_ld*/st* functions 2018-02-12 19:22:47 -05:00
aarch64eb.h exec.c: Add new address_space_ld*/st* functions 2018-02-12 19:22:47 -05:00
accel.c
arm.h exec.c: Add new address_space_ld*/st* functions 2018-02-12 19:22:47 -05:00
armeb.h exec.c: Add new address_space_ld*/st* functions 2018-02-12 19:22:47 -05:00
CODING_STYLE
configure tcg: Drop ia64 host support 2018-02-04 18:33:02 -05:00
COPYING
COPYING.LIB
cpu-exec.c exec: make iotlb RCU-friendly 2018-02-12 15:20:39 -05:00
cpus.c
cputlb.c Add MemTxAttrs to the IOTLB 2018-02-12 18:38:38 -05:00
exec.c exec: Atomic access to bounce buffer 2018-02-12 21:00:17 -05:00
gen_all_header.sh
glib_compat.c
HACKING
header_gen.py exec.c: Add new address_space_ld*/st* functions 2018-02-12 19:22:47 -05:00
ioport.c memory: Define API for MemoryRegionOps to take attrs and return status 2018-02-12 17:17:27 -05:00
LICENSE
m68k.h exec.c: Add new address_space_ld*/st* functions 2018-02-12 19:22:47 -05:00
Makefile
Makefile.objs
Makefile.target tcg: Move some opcode generation functions out of line 2018-02-09 08:10:00 -05:00
memory_mapping.c
memory.c memory: Replace io_mem_read/write with memory_region_dispatch_read/write 2018-02-12 17:26:52 -05:00
mips64.h exec.c: Add new address_space_ld*/st* functions 2018-02-12 19:22:47 -05:00
mips64el.h exec.c: Add new address_space_ld*/st* functions 2018-02-12 19:22:47 -05:00
mips.h exec.c: Add new address_space_ld*/st* functions 2018-02-12 19:22:47 -05:00
mipsel.h exec.c: Add new address_space_ld*/st* functions 2018-02-12 19:22:47 -05:00
powerpc.h exec.c: Add new address_space_ld*/st* functions 2018-02-12 19:22:47 -05:00
qapi-schema.json
qemu-log.c
qemu-timer.c
rules.mak
softmmu_template.h Add MemTxAttrs to the IOTLB 2018-02-12 18:38:38 -05:00
sparc64.h exec.c: Add new address_space_ld*/st* functions 2018-02-12 19:22:47 -05:00
sparc.h exec.c: Add new address_space_ld*/st* functions 2018-02-12 19:22:47 -05:00
tcg-runtime.c
translate-all.c target-i386: remove superfluous TARGET_HAS_SMC macro 2018-02-12 16:41:55 -05:00
translate-all.h
unicorn_common.h
VERSION
vl.c
vl.h
x86_64.h exec.c: Add new address_space_ld*/st* functions 2018-02-12 19:22:47 -05:00