qemu-e2k/target-i386
KONRAD Frederic 677ef6230b replace spinlock by QemuMutex.
spinlock is only used in two cases:
  * cpu-exec.c: to protect TranslationBlock
  * mem_helper.c: for lock helper in target-i386 (which seems broken).

It's a pthread_mutex_t in user-mode, so we can use QemuMutex directly,
with an #ifdef.  The #ifdef will be removed when multithreaded TCG
will need the mutex as well.

Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Message-Id: <1439220437-23957-5-git-send-email-fred.konrad@greensocs.com>
Signed-off-by: Emilio G. Cota <cota@braap.org>
[Merge Emilio G. Cota's patch to remove volatile. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-09-09 15:34:55 +02:00
..
arch_dump.c x86: Fuse g_malloc(); memset() into g_malloc0() 2014-12-15 12:21:02 +01:00
arch_memory_mapping.c Switch non-CPU callers from ld/st*_phys to address_space_ld/st* 2015-04-26 16:49:24 +01:00
cc_helper_template.h
cc_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
cpu-qom.h target-i386: use memory API to implement SMRAM 2015-06-05 17:36:39 +02:00
cpu.c target-i386: Remove x86_cpu_compat_set_features() 2015-08-13 14:08:25 +03:00
cpu.h replace spinlock by QemuMutex. 2015-09-09 15:34:55 +02:00
excp_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
fpu_helper.c target-i386/FPU: a misprint in helper_fistll_ST0 2015-07-24 13:57:45 +02:00
gdbstub.c target-i386: update fp status fix 2014-09-18 17:06:12 +02:00
helper.c target-i386: Use correct memory attributes for memory accesses 2015-06-05 17:10:00 +02:00
helper.h target-i386: Use correct memory attributes for ioport accesses 2015-06-05 17:10:00 +02:00
int_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
kvm_i386.h pc: add SMM property 2015-07-06 18:39:59 +02:00
kvm-stub.c pc: add SMM property 2015-07-06 18:39:59 +02:00
kvm.c i386: Introduce ARAT CPU feature 2015-07-07 10:47:16 -03:00
machine.c migration: Use normal VMStateDescriptions for Subsections 2015-06-12 06:53:57 +02:00
Makefile.objs target-i386: Use correct memory attributes for ioport accesses 2015-06-05 17:10:00 +02:00
mem_helper.c replace spinlock by QemuMutex. 2015-09-09 15:34:55 +02:00
misc_helper.c target-i386: Use correct memory attributes for ioport accesses 2015-06-05 17:10:00 +02:00
ops_sse_header.h target-i386: add AES-NI instructions 2013-04-13 13:51:57 +02:00
ops_sse.h crypto: move built-in AES implementation into crypto/ 2015-07-07 12:04:13 +02:00
seg_helper.c target-i386: Use correct memory attributes for memory accesses 2015-06-05 17:10:00 +02:00
shift_helper_template.h
smm_helper.c target-i386: use memory API to implement SMRAM 2015-06-05 17:36:39 +02:00
svm_helper.c target-i386: Use correct memory attributes for memory accesses 2015-06-05 17:10:00 +02:00
svm.h
TODO
translate.c replace spinlock by QemuMutex. 2015-09-09 15:34:55 +02:00