Message ID | 20231106065827.543129-5-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:fd90:0:b0:32d:baff:b0ca with SMTP id d16csp946659wrr; Sun, 5 Nov 2023 23:03:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQRpJBb04Y/cxQZpvb5Lak56H+4nupDt8I1oQaXeiOSPFbR2lZtE60HVZBv0qpOxu1pxp/ X-Received: by 2002:a05:620a:f03:b0:77a:6dcd:3fce with SMTP id v3-20020a05620a0f0300b0077a6dcd3fcemr10272550qkl.11.1699254213151; Sun, 05 Nov 2023 23:03:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699254213; cv=none; d=google.com; s=arc-20160816; b=aOBh2GLazbqPdDx7C29GBcTDuBmQEefbGmLWwuzrhO6dVyitcVRoSTZIw3e8yHD7WS 3Mm1kXXsm60LdP2SHe/DqnIhV8EHJEQZ0+9fsK/ThKYqpr2TYVMqDNFciGo/ifZyM8xW qtYmHiqc0Z0k0d++/nlOzJbyrcFJuOmPR/qStj5Trl946I3wOi2QTtUqrDiZQIc3QQbu Jjj+KO6RgmKmukrGVGIsNFGVAkVPFutpof3Vq46UKDDPK57bv2XF8i9z67EJuYSZ2Wf8 RQgIpc8oIRBtf+fDDyj3TnfepaoaZKjFqmD21fNfvXeebyIf4otbFUSQTazdSCGT/I8Z bLSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=oboVQOi6EvjisHoCt0AjEUt8Log6Mds8YaieNrV812g=; fh=U+hGNjcWZPeyLe2bTdTFM68h7FRptferheHiMMFpeys=; b=cQ/J1QoQdlgXG8T8PzZDC8kkSC/2WK6/866+rgvY96451z70q1dQUvvWyLu77kUGE2 zA1z/sotx+vX/E8KgVZxtFKkwK4AgJ2WFo3s81gWuUaHcUXLCT3cez/mQd+asz9Qdbio xxSFP4AqUsi3NH8bzIwAUjY8B5OOYEaNsOkpOV43u2vRZ0VwXNGgUK2FSwMYpT8HhBZH 9CusXsQGKoH2EEXamaVQKttQtmt5VwJL3tdXvzlP2Ij3ph3hqOuiYU9/jK1Xv5luGvAL zIVRwj2GLvFkg7sy0s78EHcGIrnd+exyWtpslnEMAnt56RsNdq+2dyrpkoD+ojwnVI07 c+xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rKDQIhEo; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id j6-20020a05620a410600b00767d6e06822si5266398qko.40.2023.11.05.23.03.33 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Nov 2023 23:03:33 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rKDQIhEo; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1qztZG-0004QL-RY; Mon, 06 Nov 2023 01:58:38 -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 <richard.henderson@linaro.org>) id 1qztZD-0004Ov-K7 for qemu-devel@nongnu.org; Mon, 06 Nov 2023 01:58:35 -0500 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1qztZC-0001Ml-3J for qemu-devel@nongnu.org; Mon, 06 Nov 2023 01:58:35 -0500 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1cc4f777ab9so27983425ad.0 for <qemu-devel@nongnu.org>; Sun, 05 Nov 2023 22:58:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699253912; x=1699858712; 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=oboVQOi6EvjisHoCt0AjEUt8Log6Mds8YaieNrV812g=; b=rKDQIhEoF2z0pMpaw3Jnw22vuXWOpajg+jzVAOiv0hCUPrE5O/OGTqXwCPktR1PDQ0 2MHhDUl9CaXKWPCVtE6Zgukd/mbNjzWSN2srC606jpf0x2G6WW8ybsXXHMEgew4VQjLU eXw9sEMb1wpVzZ1Htu8QZyffjy+h2TWefCbWvw99rGNNhBYyd3MYco8F1gVfM/WiWlMt KcnuLJ8bPY/nH5ZIH7+aA2Xb0I74UmnKe+V2Yvv0WdB/z1FxLgo2mzgs6lTx6HzS17h/ +RtSsEBAHPvzDq6KOl41qYTYqwnnr7+o2Z3dl6VAk4pJn0cQqCBcAR18ICcQpfF8GmkA nDTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699253912; x=1699858712; 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=oboVQOi6EvjisHoCt0AjEUt8Log6Mds8YaieNrV812g=; b=uIfwvkUqLUqLS1+awdASsdI0K7lZmK4W2y/rvZrnanDfTrjWiKgmBZRk8TT21h8oH8 GGjgVmeUTCNehtHSDdRAKBo1bcELDYijgk5UI4nU7OXkQwCVzmhCetRqVWPEcsisPm9z yCU299WwvW4PI3iQxSS57u5bF4YuSiKLdSOyTrJ/dQWQaUw6VzE5LkuCq7l3bvuPk+cp ZvNA8O+gTFXt7VIEeO61iWxXgoLWkh07lsd+IsQuG5PMq7mcyekmmkJnN9mLS12Z6Udn nTAuNmOe4SLgD920qKCifaBjUWMapaaTev2xPuXaJPzVksTldEULVfyJ9mXgXs2V4s9O Izdg== X-Gm-Message-State: AOJu0YzkrfpLhQumC+8qIp7ZBujCHobnTQC8C/7EfNNl52P8lIX9Z7NG sMWfIlvbcLWm2a60Til1e76QchHl4D8axHRdmzw= X-Received: by 2002:a17:903:1250:b0:1cc:7ec0:bc8a with SMTP id u16-20020a170903125000b001cc7ec0bc8amr12698683plh.66.1699253912472; Sun, 05 Nov 2023 22:58:32 -0800 (PST) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id c3-20020a170902d48300b001c62e3e1286sm5167130plg.166.2023.11.05.22.58.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 22:58:32 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: quintela@redhat.com, peterx@redhat.com, farosas@suse.de, leobras@redhat.com Subject: [PATCH 04/71] target/alpha: Constify VMState in machine.c Date: Sun, 5 Nov 2023 22:57:20 -0800 Message-Id: <20231106065827.543129-5-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: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x633.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
*: Constify VMState
|
expand
|
diff --git a/target/alpha/machine.c b/target/alpha/machine.c index 2b7c8148ff..f09834f635 100644 --- a/target/alpha/machine.c +++ b/target/alpha/machine.c @@ -24,7 +24,7 @@ static const VMStateInfo vmstate_fpcr = { .put = put_fpcr, }; -static VMStateField vmstate_env_fields[] = { +static const VMStateField vmstate_env_fields[] = { VMSTATE_UINTTL_ARRAY(ir, CPUAlphaState, 31), VMSTATE_UINTTL_ARRAY(fir, CPUAlphaState, 31), /* Save the architecture value of the fpcr, not the internally @@ -73,7 +73,7 @@ static const VMStateDescription vmstate_env = { .fields = vmstate_env_fields, }; -static VMStateField vmstate_cpu_fields[] = { +static const VMStateField vmstate_cpu_fields[] = { VMSTATE_CPU(), VMSTATE_STRUCT(env, AlphaCPU, 1, vmstate_env, CPUAlphaState), VMSTATE_END_OF_LIST()
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/alpha/machine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)