From patchwork Mon Jan 14 07:48:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 10761695 Return-Path: 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 89E8A13B4 for ; Mon, 14 Jan 2019 07:51:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E60C28A0A for ; Mon, 14 Jan 2019 07:51:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7307B28A12; Mon, 14 Jan 2019 07:51:11 +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=-1.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_FROM, MAILING_LIST_MULTI autolearn=no version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 33E7028A85 for ; Mon, 14 Jan 2019 07:51:11 +0000 (UTC) Received: from localhost ([127.0.0.1]:54420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gix1a-0007gD-Fo for patchwork-qemu-devel@patchwork.kernel.org; Mon, 14 Jan 2019 02:51:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gix09-0006VP-S4 for qemu-devel@nongnu.org; Mon, 14 Jan 2019 02:49:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gix08-00022H-BR for qemu-devel@nongnu.org; Mon, 14 Jan 2019 02:49:41 -0500 Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]:35598) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gix08-0001vs-49 for qemu-devel@nongnu.org; Mon, 14 Jan 2019 02:49:40 -0500 Received: by mail-lj1-x241.google.com with SMTP id x85-v6so18121425ljb.2 for ; Sun, 13 Jan 2019 23:49:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fcWfQII4EbYu0Efv6TsrxR3P3jqWehDBl02qTyAn8uw=; b=tnp3JJLy4rWyvsFrWLPCLIl1W3+PBlxkl4rbmyiH3ZABAbEMpmey2q0aXrhzcB8TmE SsxTSvG6ba6Iw3XRI44kFX7iaACsPyPdqUuHEJTCzfJNW50QFTSHFX6vkSnHICa9kWfr BCXHBj6X+pGMmeJiYzPgD0boMoMH8zcqQu+CKraEQTCRX4RSAIoPNo1Db2T/5Pb7Hq6F p242tyGceZkyhYxF5x+Ct8uQWAhIhcOLSdFBUSAqTNDJoUY0Njzzd67rtHeZmp3hzemv QuTOhePmo10zNM5+/I4dHZCvjLAdBpL+eVwQzj9XIACRtWgf4lHmjiUY8942EkgjP0oW wwBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fcWfQII4EbYu0Efv6TsrxR3P3jqWehDBl02qTyAn8uw=; b=qZATys+r2xcFQrmSYIOItaa4h/gEnRvdkOqImgELSp8kKBSG0LZ5SNjYVsEg1DeaT9 kYFXSZNxXmtMblVkst3AB9LCRroPkl0xuTcYpFkX2o6I8jxbmHvShExR06Yh1KYqyXPJ +/buRF8tZoYmWXj9OvZcZqwciENeC0RKU/ISuET+rjSpgYiCX4kEpz8Xo7YYDAg7NMnr Qx8s6NGRx5PsEUWUjWOGz83BFfdF7EXogTFCTAwUx639QGXkt1Nfvwdz82HDCy/fKWX8 BhpDacWi9l4wS4RMVYxFEvME4ZGsLg118w4QkiHJywRV1xrzGpeg+l0lIUNFZpb5CXYM lVIw== X-Gm-Message-State: AJcUukdCEeDl0AP5D9tMbtsEGBZagYod46LUlbPvM0SHBDST+lt5KJY8 lodUf2g915Ehl8IBQxMB9jbJz44NBMQ= X-Google-Smtp-Source: ALg8bN41YWWRNTb/La0b5AxkCmz4q6rjdraUNMwHR6z1cExsxWi+HAYeNkyaJFXbt92xjMDcpWBPfg== X-Received: by 2002:a2e:9b84:: with SMTP id z4-v6mr13528353lji.93.1547452171305; Sun, 13 Jan 2019 23:49:31 -0800 (PST) Received: from octofox.hsd1.ca.comcast.net. (jcmvbkbc-1-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:1fa::2]) by smtp.gmail.com with ESMTPSA id g17sm16181570lfg.78.2019.01.13.23.49.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Jan 2019 23:49:30 -0800 (PST) From: Max Filippov To: qemu-devel@nongnu.org Date: Sun, 13 Jan 2019 23:48:54 -0800 Message-Id: <20190114074855.16891-7-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190114074855.16891-1-jcmvbkbc@gmail.com> References: <20190114074855.16891-1-jcmvbkbc@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::241 Subject: [Qemu-devel] [PATCH 6/7] target/xtensa: drop dump_state helper X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Max Filippov Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Drop unused helper dump_state from op_helper.c Signed-off-by: Max Filippov --- target/xtensa/helper.h | 1 - target/xtensa/op_helper.c | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/target/xtensa/helper.h b/target/xtensa/helper.h index 2ebba0b2c2bf..89eb97e26514 100644 --- a/target/xtensa/helper.h +++ b/target/xtensa/helper.h @@ -15,7 +15,6 @@ DEF_HELPER_2(movsp, void, env, i32) #ifndef CONFIG_USER_ONLY DEF_HELPER_1(simcall, void, env) #endif -DEF_HELPER_1(dump_state, void, env) #ifndef CONFIG_USER_ONLY DEF_HELPER_3(waiti, void, env, i32, i32) diff --git a/target/xtensa/op_helper.c b/target/xtensa/op_helper.c index d3e61e22fe82..b0ef828f9ae5 100644 --- a/target/xtensa/op_helper.c +++ b/target/xtensa/op_helper.c @@ -93,17 +93,6 @@ void xtensa_cpu_do_transaction_failed(CPUState *cs, hwaddr physaddr, vaddr addr, addr); } -#endif - -void HELPER(dump_state)(CPUXtensaState *env) -{ - XtensaCPU *cpu = xtensa_env_get_cpu(env); - - cpu_dump_state(CPU(cpu), stderr, fprintf, 0); -} - -#ifndef CONFIG_USER_ONLY - void HELPER(update_ccount)(CPUXtensaState *env) { uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL);