From: SeokYeon Hwang Date: Thu, 4 Jul 2013 05:37:38 +0000 (+0900) Subject: Merge exec.c X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~900^2~51^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d9c30914f2f5684e247dffda586c626979f5ffb;p=sdk%2Femulator%2Fqemu.git Merge exec.c Change-Id: Ia7f1c7cd2310db10bb7bbbabd1b9f8f0a14c9d27 Signed-off-by: SeokYeon Hwang --- diff --git a/exec.c b/exec.c index d66bc4254a..fb4b7b725a 100644 --- a/exec.c +++ b/exec.c @@ -250,24 +250,7 @@ static const VMStateDescription vmstate_cpu_common = { #define vmstate_cpu_common vmstate_dummy #endif -<<<<<<< HEAD -#if defined(CONFIG_QEMU_LDST_OPTIMIZATION) && defined(CONFIG_SOFTMMU) -/* check whether the given addr is in TCG generated code buffer or not */ -bool is_tcg_gen_code(uintptr_t tc_ptr) -{ - /* This can be called during code generation, code_gen_buffer_size - is used instead of code_gen_ptr for upper boundary checking */ - return (tc_ptr >= (uintptr_t)code_gen_buffer && - tc_ptr < (uintptr_t)(code_gen_buffer + code_gen_buffer_size)); -} -#endif - -/* find the TB 'tb' such that tb[0].tc_ptr <= tc_ptr < - tb[1].tc_ptr. Return NULL if not found */ -TranslationBlock *tb_find_pc(uintptr_t tc_ptr) -======= CPUState *qemu_get_cpu(int index) ->>>>>>> test1.5 { CPUArchState *env = first_cpu; CPUState *cpu = NULL;