Message ID | 20231221031652.119827-40-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp686553wrw; Wed, 20 Dec 2023 19:20:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBMn+8gEW7e/N65C2FHiddRQyrNwzg+YWqR3a00u4MxDfM3wm/dxxk4EHDO//Mt6iggw0y X-Received: by 2002:a05:622a:1703:b0:423:f6b7:fd82 with SMTP id h3-20020a05622a170300b00423f6b7fd82mr35355qtk.34.1703128848030; Wed, 20 Dec 2023 19:20:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703128848; cv=none; d=google.com; s=arc-20160816; b=Qs2cRilcWfJjtVj3YPAolc+9W2dzqJNvTToYhIalB3fbVZDaXsOT1XLVwOh4cK3LJ8 RZffsjgvVkHQTS8S4IW8k5NsKe7SA0W8xSy1GLXhQC01nnfBMdVeyTT/lAoy0U/vy2LT dOFMeAmbGDRQwWo0qaTb/wG23Z9kd+NSxMRh71kmbOd5G2u0KhT8ZbsuNx9G75ZXNmuF KP9SMeHXYREORdgQg4vOQ/VkFhSGHHwsrhJJK97datjYhFvFKOisLYnJibjQhCaPnJqn KLkc+kjc9jyqhKPLtG+f2crjz7ghH+Rda5khqNwEHNgNj5eSU/hZhlIOr4tckkSzMWIg 2bLg== 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:to:from :dkim-signature; bh=GK0r0bvGCZ9eQqWkzgeODTyST+S/GfSxl8+D4j9zUNc=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=X0RKrJLpSYO5EjjLAHkuZt3gDB6PMjpyQWQVtHx5e/Qnw1mxd8QBs9GlNiZe4rFLY9 Fr47tFUaVC4PRv8o6vjgTCLAYFFfMdZaeG26eK9B7caouOGD+NA3tdGdJVxDol8xcbJn KYXaCGmslATwlRk0gWkbv9EsvD+Q04X7YwyHvvg/gkXqd7nSXxd4MWtKV4c8hycCmY/D 58Hv9HkMjIPeiSBEvyYimYtcFRK32z6UCkChwHRVaIFsisUjL3mx9A5LgNuUUkH+8T4j RhzpezQk9AGROzpEj0ucfRZzEU2wLkAoisxToazlLeZDYH2nwOcTozGZQEZBIEl1XoFf 7+pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KXRG8vK5; 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 a11-20020a05622a02cb00b00423b458bb93si1165656qtx.721.2023.12.20.19.20.47 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Dec 2023 19:20:48 -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=KXRG8vK5; 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 1rG9b3-0006SY-9l; Wed, 20 Dec 2023 22:19: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 <richard.henderson@linaro.org>) id 1rG9b1-0006LA-DJ for qemu-devel@nongnu.org; Wed, 20 Dec 2023 22:19:39 -0500 Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]) 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 1rG9b0-00047V-1r for qemu-devel@nongnu.org; Wed, 20 Dec 2023 22:19:39 -0500 Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-7810b3c4fa9so106728685a.1 for <qemu-devel@nongnu.org>; Wed, 20 Dec 2023 19:19:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703128777; x=1703733577; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=GK0r0bvGCZ9eQqWkzgeODTyST+S/GfSxl8+D4j9zUNc=; b=KXRG8vK5Oaqrr4cT4ftU55ev3pR9eF1OH0R9ExgeVh3fK9KeXYaJBBkxdpyU3pbfDH rX7bozsEGAlhhKTX8f7lr8r2hTsH/rpveEc5fjRS5TefgztiyNIc598TGHb+LzbIfL5f f8GH6x7XMbFUjPJAVGqQ/qt7f9Hsf8EFsFBhvROqbF6kyT9unB5JESzlbIW+HvEAwvDW 9KuLrvlN+TD77fs8sE6bEPgiMr5OnKXDhTI/ekv50sC2nvTfmkatn9pl97t4UUZyEZzv k9bShqzF6jenjmfASqQBCwR345kapHBoZzyju6aP6AJvltLHiER/Iduvvc/jR/xSkV1Q 7eNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703128777; x=1703733577; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GK0r0bvGCZ9eQqWkzgeODTyST+S/GfSxl8+D4j9zUNc=; b=V9crQ+5Q4vUaTSubPrPRYsFxNC1ItLIlWCYKMVjZ1NXXXYcbm4xnUnVrFhX+Kms/4/ hL65P7KK2aooDY1RJy3KAQ4Vp4UPefBByjwMCW7mZ6A3QZZNsTmEuI88JFzLItDKb1aC jco6uo8ErULeACfxMYygHYtxIrPcyJ5LNnz4+b5plzHj+2ry4buHk56cyRECSh8LqfWd CGXcer4DcijtMAOz3C+w8xrl4/0WPiZcU1foHF4g4lYi2Q+FPHO99ACVp7gmgYa91d2r s2VfJhoZry9lIPOapZFo7nSCg+5jf5yGBvrVbj1vTUMM8839KlhqB035Wia70kdjAT+3 mWyA== X-Gm-Message-State: AOJu0YwEtKSr7jHqSfEn+UehsRALIkBxbX11ATboGBgrgVKP/LurM4Go VUOEdhqFlT3vSWQtew80KsNnGNy3ZdaIEqdNEPMkr2le X-Received: by 2002:ae9:e507:0:b0:77f:347a:6210 with SMTP id w7-20020ae9e507000000b0077f347a6210mr49549qkf.49.1703128777174; Wed, 20 Dec 2023 19:19:37 -0800 (PST) Received: from stoup.. ([172.58.139.164]) by smtp.gmail.com with ESMTPSA id n8-20020a05620a294800b0078116d55191sm360808qkp.130.2023.12.20.19.19.34 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:19:36 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v2 39/71] hw/m68k: Constify VMState Date: Thu, 21 Dec 2023 14:16:20 +1100 Message-Id: <20231221031652.119827-40-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231221031652.119827-1-richard.henderson@linaro.org> References: <20231221031652.119827-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::72e; envelope-from=richard.henderson@linaro.org; helo=mail-qk1-x72e.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/hw/m68k/next-cube.c b/hw/m68k/next-cube.c index fabd861941..baca38bf39 100644 --- a/hw/m68k/next-cube.c +++ b/hw/m68k/next-cube.c @@ -996,7 +996,7 @@ static const VMStateDescription next_rtc_vmstate = { .name = "next-rtc", .version_id = 1, .minimum_version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT8_ARRAY(ram, NextRtc, 32), VMSTATE_UINT8(command, NextRtc), VMSTATE_UINT8(value, NextRtc), @@ -1011,7 +1011,7 @@ static const VMStateDescription next_pc_vmstate = { .name = "next-pc", .version_id = 1, .minimum_version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32(scr1, NeXTPC), VMSTATE_UINT32(scr2, NeXTPC), VMSTATE_UINT32(int_mask, NeXTPC), diff --git a/hw/m68k/q800-glue.c b/hw/m68k/q800-glue.c index f413b1599a..b5a7713863 100644 --- a/hw/m68k/q800-glue.c +++ b/hw/m68k/q800-glue.c @@ -189,7 +189,7 @@ static const VMStateDescription vmstate_glue = { .name = "q800-glue", .version_id = 0, .minimum_version_id = 0, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT8(ipr, GLUEState), VMSTATE_UINT8(auxmode, GLUEState), VMSTATE_TIMER_PTR(nmi_release, GLUEState),
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- hw/m68k/next-cube.c | 4 ++-- hw/m68k/q800-glue.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)