From nobody Sat Nov 23 19:22:07 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1731684095; cv=none; d=zohomail.com; s=zohoarc; b=g1NOwHgUeLafGpGsw9/HZ5j2jMeD9CUaV+ZHaJrdGGkPVjF3HcIfHkJf1yUrefB33oeL8fRm1CaqEmFZgxdv4TsXW2aGbCAC/BDq+ssGRp/1Ls4I1pgCyqhJXn4WQocqbB9exLtyROxqvfqrHoPBsR9CAlynezTLZp0xEypYanE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1731684095; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=GRasMU/kl6pU0nKOnvS8/V9PVLoGYuKbLYq4L4yKpFo=; b=IHFGTpaixUK4RKSX3O182zIwfOqWqGCIHVK4EDKTe+C2gfc0zfZ2fx/GruO/yQzKXizvlUOGJxXYHz+FZD/I4BNHto5Bshi/D+9MlX6+gIQJVLQM2wDcwnhlODRge6OsyFVm25ybQFvt2EnOJSADaGd7FL1/V14Q5Cp7/Yg0Id0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 173168409516046.78964705596127; Fri, 15 Nov 2024 07:21:35 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBy8H-0001nx-KC; Fri, 15 Nov 2024 10:21:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBy8F-0001nm-Lv for qemu-devel@nongnu.org; Fri, 15 Nov 2024 10:21:11 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tBy8D-00044J-Hi for qemu-devel@nongnu.org; Fri, 15 Nov 2024 10:21:11 -0500 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4314f38d274so20707455e9.1 for ; Fri, 15 Nov 2024 07:21:07 -0800 (PST) Received: from localhost.localdomain ([176.187.214.209]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3821ae2f651sm4785315f8f.87.2024.11.15.07.21.04 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 15 Nov 2024 07:21:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731684066; x=1732288866; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GRasMU/kl6pU0nKOnvS8/V9PVLoGYuKbLYq4L4yKpFo=; b=imh5T0mcRvm6fKylrnHKff4C7xlbk7SdFcLkuqqGjSfrUrtGrhuJhMgErU58bJV8TT 2Y/+L3cfVDIw9jbmZqkljnpcBYFCQKI2F/bvHMurwSeV3lQOY8xw54AmuTrMaatrHy2U kZh+PcjYEy1F2112aoSzaAupRGKYP0ASi0ddgpYKaus/ia0He/sZqaHcLDQNiHadfKHH n6ygmaVSg9V7oAahQXfk5szx/SrPPTwEJhRluL4uYuDGa8da90VVmD76aZWYV5SZ/Ve2 TBXT6kCA23HPDATIeMhSCeq4xilD8zjeFAev+Bg2SqGHRyfJj9F820yy0xtfc+3m3Emq uh0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731684066; x=1732288866; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GRasMU/kl6pU0nKOnvS8/V9PVLoGYuKbLYq4L4yKpFo=; b=duNP7PDreVE/CQDhYUtQGUMDxPDndOdELV6xiuAa39+sdRg9pByvPfin19TubYqX1g u1eI3xTnEfqtbvX5aikV0iWQnARSKsLCKT3885EEHlPQ2qZLQy3jH4gQi81oDXOP9qpw 0p062lvOqX0bNxcuUICNLP+3rnyYJPdGSE51vCoiF83LcKsgNx9KLM1oCWqdpTHefRiB sjP+NupBLNfHnzTlituGJJsVk8p6zxpTrK3BIOaa4teryHifS2z8J6aN9zHQWKWSP8qI RyJ6MhR5u8UVfI/1s1YxEx5YhrGyMMp2EMttwsAc8CObfoB89rPva7M93bqFfvC2LCKL V3sw== X-Gm-Message-State: AOJu0YyU5IqbEQ7QP7Lzuc8o51oTo8ELVwQNVD+9NUflmmT9uvVyrtPU Lkgf6x6ihMe1pBTLuaUwqNBcEdOYIo4eCn8PLWQU3wcTLFX1fJAFfW1W1Zr063XnfA4kaEoN3Sg o X-Google-Smtp-Source: AGHT+IHW0KR5WTaGL0p1XuyzuwgZiuu6fe6xjPHY63DvbhB+M1bhjA8sloCdYDCDRG4tHaIYISzglg== X-Received: by 2002:a05:600c:4e8d:b0:432:bb4d:cd77 with SMTP id 5b1f17b1804b1-432df74fda2mr30187755e9.19.1731684065835; Fri, 15 Nov 2024 07:21:05 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 02/10] target/loongarch: Declare loongarch_cpu_dump_state() locally Date: Fri, 15 Nov 2024 16:20:45 +0100 Message-ID: <20241115152053.66442-3-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241115152053.66442-1-philmd@linaro.org> References: <20241115152053.66442-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=philmd@linaro.org; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1731684096415116600 loongarch_cpu_dump_state() is not used outside of cpu.c, no need to expose its prototype. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Peter Maydell Reviewed-by: Richard Henderson --- target/loongarch/internals.h | 2 -- target/loongarch/cpu.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/target/loongarch/internals.h b/target/loongarch/internals.h index 1a02427627..0655ac948b 100644 --- a/target/loongarch/internals.h +++ b/target/loongarch/internals.h @@ -18,8 +18,6 @@ =20 void loongarch_translate_init(void); =20 -void loongarch_cpu_dump_state(CPUState *cpu, FILE *f, int flags); - void G_NORETURN do_raise_exception(CPULoongArchState *env, uint32_t exception, uintptr_t pc); diff --git a/target/loongarch/cpu.c b/target/loongarch/cpu.c index 57cc4f314b..e599beb30a 100644 --- a/target/loongarch/cpu.c +++ b/target/loongarch/cpu.c @@ -742,7 +742,7 @@ static ObjectClass *loongarch_cpu_class_by_name(const c= har *cpu_model) return oc; } =20 -void loongarch_cpu_dump_state(CPUState *cs, FILE *f, int flags) +static void loongarch_cpu_dump_state(CPUState *cs, FILE *f, int flags) { CPULoongArchState *env =3D cpu_env(cs); int i; --=20 2.45.2