From patchwork Mon Nov 12 09:27:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v6,2/7] tcg/tcg.h: Duplicate global TCG variables in TCGContext X-Patchwork-Submitter: Evgeny Voevodin X-Patchwork-Id: 198340 Message-Id: <1352712469-27974-3-git-send-email-e.voevodin@samsung.com> To: qemu-devel@nongnu.org Cc: Evgeny Voevodin , blauwirbel@gmail.com, kyungmin.park@samsung.com, edgar.iglesias@gmail.com, aurelien@aurel32.net, rth@twiddle.net Date: Mon, 12 Nov 2012 13:27:44 +0400 From: Evgeny Voevodin List-Id: Signed-off-by: Evgeny Voevodin Reviewed-by: Richard Henderson --- tcg/tcg.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tcg/tcg.h b/tcg/tcg.h index c2ae873..6ffec1d 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -450,6 +450,12 @@ struct TCGContext { int goto_tb_issue_mask; #endif + uint16_t gen_opc_buf[OPC_BUF_SIZE]; + TCGArg gen_opparam_buf[OPPARAM_BUF_SIZE]; + + uint16_t *gen_opc_ptr; + TCGArg *gen_opparam_ptr; + #if defined(CONFIG_QEMU_LDST_OPTIMIZATION) && defined(CONFIG_SOFTMMU) /* labels info for qemu_ld/st IRs The labels help to generate TLB miss case codes at the end of TB */