aboutsummaryrefslogtreecommitdiff
path: root/tcg/ppc/tcg-target.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-11-02 20:52:13 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-11-02 20:52:13 +0000
commitc51d9cb5b6e2fde9878d2be23dab389c2882de93 (patch)
tree89b09e63d1ec58b134c31b1e4e9be5dc8dca572a /tcg/ppc/tcg-target.h
parent42dfb09510fa8725bc75b48a4825eaf66b21958a (diff)
parent9195b2c2b1b00799b68f6d68a73e547d1274eb03 (diff)
Merge branch 'tci' of git://qemu.weilnetz.de/qemu
* 'tci' of git://qemu.weilnetz.de/qemu: tcg: Add tcg interpreter to configure / make tcg: Add tci disassembler tcg: Add interpreter for bytecode tcg: Add bytecode generator for tcg interpreter tcg: Make ARRAY_SIZE(tcg_op_defs) globally available tcg: TCG targets may define tcg_qemu_tb_exec
Diffstat (limited to 'tcg/ppc/tcg-target.h')
-rw-r--r--tcg/ppc/tcg-target.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h
index 5c2d61294f..25a6ea4edc 100644
--- a/tcg/ppc/tcg-target.h
+++ b/tcg/ppc/tcg-target.h
@@ -96,3 +96,7 @@ enum {
#define TCG_AREG0 TCG_REG_R27
#define TCG_TARGET_HAS_GUEST_BASE
+
+#define tcg_qemu_tb_exec(env, tb_ptr) \
+ ((long REGPARM __attribute__ ((longcall)) \
+ (*)(void *, void *))code_gen_prologue)(env, tb_ptr)