qemu-e2k/target-ppc
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
..
translate target-ppc: Add xvcmpnesp, xvcmpnedp instructions 2016-10-28 11:17:35 +11:00
arch_dump.c ppc64: fix compressed dump with pseries kernel 2016-08-10 13:05:05 +10:00
cpu-models.c target-ppc: Introduce Power9 family 2016-09-07 09:52:14 +10:00
cpu-models.h target-ppc: Introduce Power9 family 2016-09-07 09:52:14 +10:00
cpu-qom.h exec: call cpu_exec_exit() from a CPU unrealize common function 2016-10-24 17:29:16 -02:00
cpu.h target-ppc: tlbie/tlbivax should have global effect 2016-09-23 12:39:07 +10:00
dfp_helper.c target-ppc: add dtstsfi[q] instructions 2016-09-07 12:40:11 +10:00
excp_helper.c ppc: allow certain HV interrupts to be delivered to guests 2016-10-28 11:17:35 +11:00
fpu_helper.c target-ppc: Add xvcmpnesp, xvcmpnedp instructions 2016-10-28 11:17:35 +11:00
gdbstub.c
helper_regs.h target-ppc: tlbie/tlbivax should have global effect 2016-09-23 12:39:07 +10:00
helper.h target-ppc: Add xvcmpnesp, xvcmpnedp instructions 2016-10-28 11:17:35 +11:00
int_helper.c target-ppc: implement vnegw/d instructions 2016-10-28 09:36:58 +11:00
kvm_ppc.h ppc: Check the availability of transactional memory 2016-10-05 11:05:28 +11:00
kvm-stub.c
kvm.c target-ppc/kvm: Enable transactional memory on POWER8 with KVM-HV, too 2016-10-05 11:05:28 +11:00
machine.c clean-up: removed duplicate #includes 2016-10-28 18:17:24 +03:00
Makefile.objs
mem_helper.c clean-up: removed duplicate #includes 2016-10-28 18:17:24 +03:00
mfrom_table_gen.c
mfrom_table.c
misc_helper.c ppc: Don't update NIP in facility unavailable interrupts 2016-09-07 12:40:10 +10:00
mmu_helper.c target-ppc: tlbie/tlbivax should have global effect 2016-09-23 12:39:07 +10:00
mmu-hash32.c
mmu-hash32.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
mmu-hash64.c target-ppc: tlbie/tlbivax should have global effect 2016-09-23 12:39:07 +10:00
mmu-hash64.h Remove unused function declarations 2016-09-15 15:32:22 +03:00
monitor.c
STATUS
timebase_helper.c ppc: Don't update NIP in DCR access routines 2016-09-07 12:40:10 +10:00
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
translate_init.c exec: call cpu_exec_exit() from a CPU unrealize common function 2016-10-24 17:29:16 -02:00
translate.c log: Add locking to large logging blocks 2016-11-01 10:29:03 -06:00
user_only_helper.c