summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorEmilio G. Cota2017-06-24 02:04:43 +0200
committerRichard Henderson2017-10-24 22:53:42 +0200
commit44ded3d04821bec57407cc26a8b4db620da2be04 (patch)
treecf6ffd033d7638196bb8a7ce592dbbf6f4a48f9f /include/exec
parenttranslate-all: report correct avg host TB size (diff)
downloadqemu-44ded3d04821bec57407cc26a8b4db620da2be04.tar.gz
qemu-44ded3d04821bec57407cc26a8b4db620da2be04.tar.xz
qemu-44ded3d04821bec57407cc26a8b4db620da2be04.zip
tcg: take tb_ctx out of TCGContext
Groundwork for supporting multiple TCG contexts. Reviewed-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec')
-rw-r--r--include/exec/tb-context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/exec/tb-context.h b/include/exec/tb-context.h
index 1fa8dcc737..1d41202485 100644
--- a/include/exec/tb-context.h
+++ b/include/exec/tb-context.h
@@ -41,4 +41,6 @@ struct TBContext {
int tb_phys_invalidate_count;
};
+extern TBContext tb_ctx;
+
#endif