Message ID | 20181025172057.20414-32-cota@braap.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9808F14BB for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 25 Oct 2018 17:23:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 81AD82C19F for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 25 Oct 2018 17:23:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 753722C1DB; Thu, 25 Oct 2018 17:23:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2510E2C1A6 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 25 Oct 2018 17:23:55 +0000 (UTC) Received: from localhost ([::1]:56026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1gFjMQ-0000pC-Ct for patchwork-qemu-devel@patchwork.kernel.org; Thu, 25 Oct 2018 13:23:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <cota@braap.org>) id 1gFjKi-0006hx-Ky for qemu-devel@nongnu.org; Thu, 25 Oct 2018 13:22:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <cota@braap.org>) id 1gFjKh-0000Px-RH for qemu-devel@nongnu.org; Thu, 25 Oct 2018 13:22:08 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:38687) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <cota@braap.org>) id 1gFjKh-00009E-J5 for qemu-devel@nongnu.org; Thu, 25 Oct 2018 13:22:07 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4523B221F7; Thu, 25 Oct 2018 13:21:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 25 Oct 2018 13:21:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h= from:to:cc:subject:date:message-id:in-reply-to:references; s= mesmtp; bh=dwARwK3H2gk2Qe4bseiIpFGmSo6ceThCPoGLgVdRnAw=; b=I4Qx6 JHm5R5Y++2D/n67P9cHq0ymqrvHB1hpISuWpWfLkBePvmRd6TPmcvHND54SMyYua PV0FJsn7oYOQjuKZQmELQm/4GBv0t3i7cDbE1ClZBytCIkeW1NlKB+nVjJ/GF7R+ addZmGm8Dzx4aMF4ASGFf4TaS/EDCnqL/kAvlY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=dwARwK3H2gk2Qe4bseiIpFGmSo6ce ThCPoGLgVdRnAw=; b=GhNqKGTBuoOXlpC7pIr8JxsKqWc6zkUx3SysCii2vsqn9 VMNDNx814LI6R1EDH/PGBLBhwcFHfvMlgSWC2hAPQKDz71Ee1haNrZBD2uBIhpuS /4zhca/kYlBWhu0BM/5ho0RYB5BpVLyqHBqhE+59fXVVRU4eGc/l8rM/6WL4/XB2 Zsrsov2UlkTTYm8f3YpIVwVOxbHvJEFbfmwVStx3UupHa6S1tzFVY9KvUk1FQvPm 1BI35jMKB0YufQsthnRu7hpledET3MB6R01JuhEM6fH0+H9VBd27c0s9TjrzETod wO5RugscrcJVsb6sjMo2l6aRF0LQ8j/zb3MlCUWMw== X-ME-Sender: <xms:ivvRWwLb0cr7eLTXC_4mXybwwKm4oHCafWX4Fq_VX986r3aZse5lYg> X-ME-Proxy: <xmx:ivvRWw0Ik0N9fO8qjCqFcgF2knrWQ9ttnghXrWLQ2iuijute-wsVgQ> <xmx:ivvRW-dv1R0oYP6aYpKNeXboJA_w9rztCmZW1WDQeBYAoX5uWj5JgA> <xmx:ivvRW0JCZSIJ3Xunr0dhvgHGWxznTIs5UB6QJLeL09FyAhycUw6yJg> <xmx:ivvRW7XxOCZ-P1TJJHKzd_XcUTPLxrAeauIo8_U7LCEISneAwftNeQ> <xmx:ivvRWz7ojxpyCwKnU6e4RbESYJe1kZbmXmubVuQFC9K0JqPZnvzO2g> <xmx:ivvRWxn9PCW4WWdDqjeLYgyRg8hOMjpad3-elzMDML81mJ4RGDqsCw> Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id DD661E455F; Thu, 25 Oct 2018 13:21:13 -0400 (EDT) From: "Emilio G. Cota" <cota@braap.org> To: qemu-devel@nongnu.org Date: Thu, 25 Oct 2018 13:20:40 -0400 Message-Id: <20181025172057.20414-32-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181025172057.20414-1-cota@braap.org> References: <20181025172057.20414-1-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.27 Subject: [Qemu-devel] [RFC 31/48] target/mips: prepare for 2-pass translation (WIP) X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Peter Maydell <peter.maydell@linaro.org>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, =?utf-8?q?Llu=C3=ADs?= =?utf-8?q?_Vilanova?= <vilanova@ac.upc.edu>, Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>, Stefan Hajnoczi <stefanha@gmail.com> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Plugin support
|
expand
|
diff --git a/target/mips/translate.c b/target/mips/translate.c index efafc6e795..46ed40cf8f 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -25455,6 +25455,8 @@ static const TranslatorOps mips_tr_ops = { .translate_insn = mips_tr_translate_insn, .tb_stop = mips_tr_tb_stop, .disas_log = mips_tr_disas_log, + .ctx_base_offset = offsetof(DisasContext, base), + .ctx_size = sizeof(DisasContext), }; void gen_intermediate_code(CPUState *cs, struct TranslationBlock *tb)
XXX: fill in plugin_insn Signed-off-by: Emilio G. Cota <cota@braap.org> --- target/mips/translate.c | 2 ++ 1 file changed, 2 insertions(+)