From nobody Wed Nov 27 12:59:00 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=1699254465; cv=none; d=zohomail.com; s=zohoarc; b=eZHyAjBWCmS7kNWBPpJDvspBlWeBc1wZ1fTtzzW2Q0yAb0bhaNSTvOcsoK4pX80UwnKG1ZUJHoZ/VUpvOSZAhKlvyhE6Xjsl2D5Q+POJYzci05tANj0C0mmo3j9mXKmKbEPOTDYWas3O7FOU3U8rpkJN9IVdOn6hKSy88SQ0mW0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699254465; h=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=44UN78pXnBrTvXHLRJVYTCWtNWEifFGF24ARe8UxBYw=; b=Bt+7lXg+z9LBGMe/w5IwjriovZ8EjxpNsjrp5dLLjNy7kLpkcVWaTUjYYicO5vKLlDmLroqJS15PL4BDIoL3L3AZZ0Cob58ABRWMDmmVRbrBSBYmmJ6PtXyaezIRi+vEZWqr807aFR6NVN2v0hjd3wG6tZOm4HumQWxEKYtT+Yo= 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 1699254465189212.08072498894137; Sun, 5 Nov 2023 23:07:45 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qztZJ-0004Rd-T6; Mon, 06 Nov 2023 01:58:41 -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 1qztZF-0004Q3-SG for qemu-devel@nongnu.org; Mon, 06 Nov 2023 01:58:37 -0500 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qztZE-0001NL-Bu for qemu-devel@nongnu.org; Mon, 06 Nov 2023 01:58:37 -0500 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1cc68c1fac2so37965565ad.0 for ; Sun, 05 Nov 2023 22:58:35 -0800 (PST) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id c3-20020a170902d48300b001c62e3e1286sm5167130plg.166.2023.11.05.22.58.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 22:58:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699253915; x=1699858715; 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=44UN78pXnBrTvXHLRJVYTCWtNWEifFGF24ARe8UxBYw=; b=QELtkxSzSIslAs2dlBb2ImfQtWE0T5/OhgxMuJa0MXImZ9MD2fXgeYZpP442Ck0Loi 8Xnk/C5DeqeZWBHXFDYnwbDVDCZoe9C0z/deIyu1/p4X0vca9nVbmhatuTp3UEuXe7aY 9uM08lzqXZeoz1CbjGAk8iOPVQ9xq1T/o9ep/SLm/ruyLBR+kwv09GDWBLIFRFHi7XTd FzCCWjxC3Afbxoi99UR+Pm6csBYzSeAIAIyOcC8jUABE7WoBpCdtdlfXaxENSsSD//ZI cRp3ucELAreCHG0fI4uMAnIlUe+mCpTg9Xzipm2x87xgqFNadroGPwq/3YAZB7uvQ4b8 bQwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699253915; x=1699858715; 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=44UN78pXnBrTvXHLRJVYTCWtNWEifFGF24ARe8UxBYw=; b=X8twCn/mjY7VGAy7NmQJI069dcJGrvsdySyBFU6LV+FyUSyalC6/5/becMUyn7whRZ a/4yrlbEmcTh445cygb0ZxuHlv2UpLp4KvuxPDwb0/EQYUu4JC7WrIZSnkqLveIQHx3Z YkIft3/hW0fe3/FxKGuLPx7zFrRr3OoZzRn9ZtnIgGqiQDagzMPQftcfFCvWGIpLO2wf s8op9SA/93oxFVkD5Lfx4InPTXviMQKKTcqvDfaIqaNS+KgV3mFXHWJbVAQdNg+sKBqx pgCavUt1wVqXRW440YIfcllKq7grLNGoEv7NaRtyAD8D0MPcy8ukd5hZXB3ig4L3blpj 5Rnw== X-Gm-Message-State: AOJu0YydX2VuzGmgVsm1m9lXeE7KrB6VpwVXfm+x1GAZbzSQ7WTHnXhl RoJyJpTy3j9dIbdzbtA7vXgMMLbTIF5f3/LgHXI= X-Google-Smtp-Source: AGHT+IEBUYBHqc5P39vhMz/tuWWwaadJ2UwVwqmnsZAte7zF+U6KpcIsgiQjHJVrwSOTJteN3Ae6jw== X-Received: by 2002:a17:903:1104:b0:1c9:dfb8:a5a0 with SMTP id n4-20020a170903110400b001c9dfb8a5a0mr33593784plh.10.1699253915034; Sun, 05 Nov 2023 22:58:35 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: quintela@redhat.com, peterx@redhat.com, farosas@suse.de, leobras@redhat.com Subject: [PATCH 07/71] target/hppa: Constify VMState in machine.c Date: Sun, 5 Nov 2023 22:57:23 -0800 Message-Id: <20231106065827.543129-8-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231106065827.543129-1-richard.henderson@linaro.org> References: <20231106065827.543129-1-richard.henderson@linaro.org> MIME-Version: 1.0 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=2607:f8b0:4864:20::62a; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62a.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, T_SCC_BODY_TEXT_LINE=-0.01 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: 1699254465413100005 Content-Type: text/plain; charset="utf-8" Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- target/hppa/machine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/hppa/machine.c b/target/hppa/machine.c index 905991d7f9..e4b358d038 100644 --- a/target/hppa/machine.c +++ b/target/hppa/machine.c @@ -122,7 +122,7 @@ static const VMStateInfo vmstate_tlb =3D { .put =3D put_tlb, }; =20 -static VMStateField vmstate_env_fields[] =3D { +static const VMStateField vmstate_env_fields[] =3D { VMSTATE_UINTTR_ARRAY(gr, CPUHPPAState, 32), VMSTATE_UINT64_ARRAY(fr, CPUHPPAState, 32), VMSTATE_UINT64_ARRAY(sr, CPUHPPAState, 8), @@ -166,7 +166,7 @@ static const VMStateDescription vmstate_env =3D { .fields =3D vmstate_env_fields, }; =20 -static VMStateField vmstate_cpu_fields[] =3D { +static const VMStateField vmstate_cpu_fields[] =3D { VMSTATE_CPU(), VMSTATE_STRUCT(env, HPPACPU, 1, vmstate_env, CPUHPPAState), VMSTATE_END_OF_LIST() --=20 2.34.1