aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>2015-09-10 22:39:35 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2015-09-16 17:33:33 +0200
commit162e992270fd3587b21fa77fd4a8ccc879c402c9 (patch)
treec44e5c8b6f2976b9f35ecd85f4c3c4d262d45c98 /tcg
parent7d8f787d9d261d6880b69e35ed682241e3f9242f (diff)
downloadqemu-162e992270fd3587b21fa77fd4a8ccc879c402c9.zip
qemu-162e992270fd3587b21fa77fd4a8ccc879c402c9.tar.gz
qemu-162e992270fd3587b21fa77fd4a8ccc879c402c9.tar.bz2
tcg: Move tci_tb_ptr to -common
This requires global visibility to common code. Move to tcg-common. Cc: Stefan Weil <sw@weilnetz.de> Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> Message-Id: <cb0340eba225ab4945aa6cf7c9013f33aa05bcf8.1441614289.git.crosthwaite.peter@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tcg')
-rw-r--r--tcg/tcg-common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tcg/tcg-common.c b/tcg/tcg-common.c
index 6a68c42..8fa4e13 100644
--- a/tcg/tcg-common.c
+++ b/tcg/tcg-common.c
@@ -24,6 +24,10 @@
#include "tcg/tcg.h"
+#if defined(CONFIG_TCG_INTERPRETER)
+uintptr_t tci_tb_ptr;
+#endif
+
TCGOpDef tcg_op_defs[] = {
#define DEF(s, oargs, iargs, cargs, flags) \
{ #s, oargs, iargs, cargs, iargs + oargs + cargs, flags },