aboutsummaryrefslogtreecommitdiff
path: root/include/exec
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2015-09-01 19:11:45 -0700
committerRichard Henderson <rth@twiddle.net>2015-10-07 20:36:51 +1100
commitfca8a500d519a56abeaedf8073167a61d3c6b9c4 (patch)
treec0b16245be9a0ee93491586045f9ed9c0961beb5 /include/exec
parentbad729e272387de7dbfa3ec4319036552fc6c107 (diff)
downloadqemu-fca8a500d519a56abeaedf8073167a61d3c6b9c4.zip
qemu-fca8a500d519a56abeaedf8073167a61d3c6b9c4.tar.gz
qemu-fca8a500d519a56abeaedf8073167a61d3c6b9c4.tar.bz2
tcg: Save insn data and use it in cpu_restore_state_from_tb
We can now restore state without retranslation. Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include/exec')
-rw-r--r--include/exec/exec-all.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
index 6a69802..402dd87 100644
--- a/include/exec/exec-all.h
+++ b/include/exec/exec-all.h
@@ -199,6 +199,7 @@ struct TranslationBlock {
#define CF_USE_ICOUNT 0x20000
void *tc_ptr; /* pointer to the translated code */
+ uint8_t *tc_search; /* pointer to search data */
/* next matching tb for physical address. */
struct TranslationBlock *phys_hash_next;
/* original tb when cflags has CF_NOCACHE */