]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg: introduce tcg_current_cpu
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Aug 2015 13:24:34 +0000 (06:24 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Sep 2015 13:34:53 +0000 (15:34 +0200)
commit9373e63297c43752f9cf085feb7f5aed57d959f8
tree919c88a38aadb45780cdb143415011e39f63edc9
parent5039d6e23586fe6bbedc5e4fe302b48a66890ade
tcg: introduce tcg_current_cpu

This is already useful on Windows in order to remove tls.h, because
accesses to current_cpu are done from a different thread on that
platform.  It will be used on POSIX platforms as soon TCG stops using
signals to interrupt the execution of translated code.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpu-exec.c
cpus.c
include/exec/exec-all.h