qemu-e2k/target-alpha
Richard Henderson 1ee73216f4 log: Add locking to large logging blocks
Reuse the existing locking provided by stdio to keep in_asm, cpu,
op, op_opt, op_ind, and out_asm as contiguous blocks.

While it isn't possible to interleave e.g. in_asm or op_opt logs
because of the TB lock protecting all code generation, it is
possible to interleave cpu logs, or to interleave a cpu dump with
an out_asm dump.

For mingw32, we appear to have no viable solution for this.  The locking
functions are not properly exported from the system runtime library.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
2016-11-01 10:29:03 -06:00
..
cpu-qom.h target-alpha: make cpu-qom.h not target specific 2016-05-19 13:08:04 +02:00
cpu.c exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
cpu.h target-alpha: Emulate LL/SC using cmpxchg helpers 2016-10-26 08:29:02 -07:00
fpu_helper.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02:00
gdbstub.c qemu-common: push cpu.h inclusion out of qemu-common.h 2016-05-19 16:42:29 +02:00
helper.c target-alpha: Emulate LL/SC using cmpxchg helpers 2016-10-26 08:29:02 -07:00
helper.h target-alpha: Introduce MMU_PHYS_IDX 2016-10-26 08:29:02 -07:00
int_helper.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02:00
machine.c target-alpha: Emulate LL/SC using cmpxchg helpers 2016-10-26 08:29:02 -07:00
Makefile.objs target-alpha: Move VAX helpers to a new file 2015-05-18 13:03:46 -07:00
mem_helper.c target-alpha: Introduce MMU_PHYS_IDX 2016-10-26 08:29:02 -07:00
STATUS Replace Qemu by QEMU in internal documentation 2012-04-07 13:58:25 +00:00
sys_helper.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02:00
translate.c log: Add locking to large logging blocks 2016-11-01 10:29:03 -06:00
vax_helper.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02:00