From nobody Tue Nov 26 22:42:28 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=1703885165; cv=none; d=zohomail.com; s=zohoarc; b=XWzuj4H8uFae0G9d698CK+VAL+sEjoUx9pe1TRIeYCmlNxzOcwg0F8c68clDnGFE3sZYF1bVEQYQZlzK9Uufm7rcApi05fKzps7W+sMfFsGTZp3H+XDJVsu+0fDxMdXUDek8+gUz4lWCly9HIxgl6ZXXDg/iqSLTlfo4NYaVae8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1703885165; 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=0BYi4NVrnMs7H/Gj4Nqxzy7vtCBJeOHIeFvnPCuOWVk=; b=ZeRVNm7aBFAPo1fsUDHi6KX01qyppa/Yse3bfagoElnDlQiGJak7y1HdmfWmEfQjCWOiUXnHVQuEMkZcDxBXozA5INhIaKMOynMw2nr2B4WYKkGssAwpVyPxD2C9zfOhA4nfNAiY+Vh2JFFISC4GaPABWCXeKJn8WivsLjE6zo0= 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 1703885165773329.8545020534923; Fri, 29 Dec 2023 13:26:05 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJKL8-0006vf-I8; Fri, 29 Dec 2023 16:24:23 -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 1rJKL0-0006sC-Lf for qemu-devel@nongnu.org; Fri, 29 Dec 2023 16:24:16 -0500 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJKKx-0006DL-QG for qemu-devel@nongnu.org; Fri, 29 Dec 2023 16:24:13 -0500 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-5bdb0be3591so5597123a12.2 for ; Fri, 29 Dec 2023 13:24:09 -0800 (PST) Received: from stoup.lan (203-217-28-32.perm.iinet.net.au. [203.217.28.32]) by smtp.gmail.com with ESMTPSA id a34-20020a631a22000000b005c65e82a0cbsm15016237pga.17.2023.12.29.13.24.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 13:24:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703885049; x=1704489849; 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=0BYi4NVrnMs7H/Gj4Nqxzy7vtCBJeOHIeFvnPCuOWVk=; b=lwygizmehueCII5/ENz3EqXOWkNrg4oVrc3BQfCUKWzzSDE8axGNnvHTvbq7ldunQs LUVU7h4PP+CaUgGxNhXWySis4v6aAvI7BNUdew4i2nT7d1R4E8NHhCq9zG66Iop7Ofzf UEeCKu2z24pp36hdXSQKhA7IINx/wiQq2L0FE0YYmCkVzyt3L834cEJp+dLbWXmyWmj2 qlOUiLxm8dP8Im9xNaazUvGFtBDLs3ZP2hD/drunjnEujto6Y9c5FBzPoSiQbno09JxA mq3KxXNau1G71SYVvfHQ7PNOn6kKkVeT+5rs8JCXWeKwTg+6Ynk347lkeCy37OiJX/lb HmkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703885049; x=1704489849; 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=0BYi4NVrnMs7H/Gj4Nqxzy7vtCBJeOHIeFvnPCuOWVk=; b=HkotdTLE3gsWHlmyWEs/aSPmmfyNvpqYOmg2dBrVoGVi8+vazJeTp+EWsppFh4MjN2 RNhTqWzkCBa9t6hKHp89qBaGu1HOrOkzKgFhpYSj+5b48CX6sGk96fPBXJ8vBia74R0y 9Mkm+xI8BAifabD9lxolxkTUkchjEFmKyx/87Uw9adZozIvMs2Jq/MXJ1Cmnd7ljf91Z KtikaOPu/FqqKR0IXpctJyQ4DB4yySC4R/+yRabuPAZaK22MVOudWLmLj/+pfp0I5x3Z K4QuyiNqUjpq4//7F0eXbFzYWeIrylhK7tKFykVDC4FY/Ar8lAocIfar3izD/SAH5WWa nEfg== X-Gm-Message-State: AOJu0YwT/P4qkzowkTUdg8zFUJCZDddwX6+dFm0KgMAUaZzdFftq2CWe qle7/Dqbi5V1V5XY4P9UaXlHehSYCZ6KHRJ9+Ih5kguSc/CFFw== X-Google-Smtp-Source: AGHT+IGuJZXZz3TBkXjcJC7v/6hxnpW1zssRqwOpPlAydBirgZzdKs+jKTFTa9RlFRIGtMDTJGxAsQ== X-Received: by 2002:a05:6a21:8185:b0:195:573:ce4f with SMTP id pd5-20020a056a21818500b001950573ce4fmr15107252pzb.20.1703885048800; Fri, 29 Dec 2023 13:24:08 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 06/71] target/cris: Constify VMState in machine.c Date: Sat, 30 Dec 2023 08:22:41 +1100 Message-Id: <20231229212346.147149-7-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231229212346.147149-1-richard.henderson@linaro.org> References: <20231229212346.147149-1-richard.henderson@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=2607:f8b0:4864:20::52c; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x52c.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: 1703885167852100009 Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Richard Henderson Message-Id: <20231221031652.119827-7-richard.henderson@linaro.org> --- target/cris/machine.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target/cris/machine.c b/target/cris/machine.c index f370f33486..7b9bde872a 100644 --- a/target/cris/machine.c +++ b/target/cris/machine.c @@ -26,7 +26,7 @@ static const VMStateDescription vmstate_tlbset =3D { .name =3D "cpu/tlbset", .version_id =3D 1, .minimum_version_id =3D 1, - .fields =3D (VMStateField[]) { + .fields =3D (const VMStateField[]) { VMSTATE_UINT32(lo, TLBSet), VMSTATE_UINT32(hi, TLBSet), VMSTATE_END_OF_LIST() @@ -37,7 +37,7 @@ static const VMStateDescription vmstate_cris_env =3D { .name =3D "env", .version_id =3D 2, .minimum_version_id =3D 2, - .fields =3D (VMStateField[]) { + .fields =3D (const VMStateField[]) { VMSTATE_UINT32_ARRAY(regs, CPUCRISState, 16), VMSTATE_UINT32_ARRAY(pregs, CPUCRISState, 16), VMSTATE_UINT32(pc, CPUCRISState), @@ -85,7 +85,7 @@ const VMStateDescription vmstate_cris_cpu =3D { .name =3D "cpu", .version_id =3D 1, .minimum_version_id =3D 1, - .fields =3D (VMStateField[]) { + .fields =3D (const VMStateField[]) { VMSTATE_CPU(), VMSTATE_STRUCT(env, CRISCPU, 1, vmstate_cris_env, CPUCRISState), VMSTATE_END_OF_LIST() --=20 2.34.1