cpu-exec: unify icount_decr and tcg_exit_req
commit1aab16c28a0232d898d6f56f5a56019472296ee7
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 Jan 2017 10:25:33 +0000 (27 11:25 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 22 Feb 2017 13:56:34 +0000 (22 14:56 +0100)
tree26769555a8a10e4e8e7006462b30b633fc1b036b
parenta1cf5fac2b929ffa2abd1285401f2535ff8c6fea
cpu-exec: unify icount_decr and tcg_exit_req

The icount interrupt flag and tcg_exit_req serve almost the same
purpose, let's make them completely the same.

The former TB_EXIT_REQUESTED and TB_EXIT_ICOUNT_EXPIRED cases are
unified, since we can distinguish them from the value of the
interrupt flag.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpu-exec.c
include/exec/gen-icount.h
include/qom/cpu.h
qom/cpu.c
tcg/tcg.h
translate-all.c
translate-common.c