aboutsummaryrefslogtreecommitdiffstats
path: root/exec.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-05-11 18:19:41 +0200
committerDavid 'Digit' Turner <digit@android.com>2011-06-01 17:08:19 +0200
commitf1d9bf153726533acf659efd796aa484dfd0b412 (patch)
treea3bcdccf0b81e1bc6e4ac6a21fb6b4777d4f0383 /exec.c
parent280afa072a7b829e581d884c2b3276530a6014b7 (diff)
downloadexternal_qemu-f1d9bf153726533acf659efd796aa484dfd0b412.zip
external_qemu-f1d9bf153726533acf659efd796aa484dfd0b412.tar.gz
external_qemu-f1d9bf153726533acf659efd796aa484dfd0b412.tar.bz2
tcg: integrate upstream version
Change-Id: Ifcdebc2e7179fbc64b46a9150e6dae62f86eba3c
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/exec.c b/exec.c
index 285c950..f650a9e 100644
--- a/exec.c
+++ b/exec.c
@@ -521,6 +521,11 @@ void cpu_exec_init_all(unsigned long tb_size)
#if !defined(CONFIG_USER_ONLY)
io_mem_init();
#endif
+#if !defined(CONFIG_USER_ONLY) || !defined(CONFIG_USE_GUEST_BASE)
+ /* There's no guest base to take into account, so go ahead and
+ initialize the prologue now. */
+ tcg_prologue_init(&tcg_ctx);
+#endif
}
#if defined(CPU_SAVE_VERSION) && !defined(CONFIG_USER_ONLY)