qemu/bsd-user
Alex Bennée 301e40ed80 translate-all: add DEBUG_LOCKING asserts
This adds asserts to check the locking on the various translation
engines structures. There are two sets of structures that are protected
by locks.

The first the l1map and PageDesc structures used to track which
translation blocks are associated with which physical addresses. In
user-mode this is covered by the mmap_lock.

The second case are TB context related structures which are protected by
tb_lock which is also user-mode only.

Currently the asserts do nothing in SoftMMU mode but this will change
for MTTCG.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-Id: <20161027151030.20863-4-alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-10-31 10:24:45 +01:00
..
freebsd
i386 Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
netbsd
openbsd
sparc Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
sparc64 Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
x86_64 Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
bsd-mman.h
bsdload.c
elfload.c
errno_defs.h
main.c Put the copyright information on a separate line 2016-10-24 11:30:55 +02:00
Makefile.objs
mmap.c translate-all: add DEBUG_LOCKING asserts 2016-10-31 10:24:45 +01:00
qemu.h exec: Reduce CONFIG_USER_ONLY ifdeffenery 2016-07-26 15:31:58 -03:00
signal.c
strace.c
syscall.c
syscall_defs.h
uaccess.c