From patchwork Fri Dec 29 21:23:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 758828 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp4672068wrw; Fri, 29 Dec 2023 13:30:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHDsemVMfA6OMig3xlNmmC4theLnQ+YTgxgZFk3j/dxT7Hs9dEGcqNPmjkqcKbwpvZiBCON X-Received: by 2002:a05:6871:5b20:b0:203:e21d:9929 with SMTP id op32-20020a0568715b2000b00203e21d9929mr8776405oac.26.1703885429928; Fri, 29 Dec 2023 13:30:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703885429; cv=none; d=google.com; s=arc-20160816; b=a4S8QCiGme4KDY8OELQRvnL6CqJ8FHjXY8qyX3319YjMOH5/vhNiG2Lx8nY8iJLe+P kCW28bKjype3YKn2Sv4lTekz7v1Wzza0TATz2HkNOfSwQxCFcG/VhfBu6UyujWtL3LlT lFQrcGKbClgNH6aZMydZD+QbGkxRW+Mo6bW3ClsKU6vmia2K2I34AFiLD042/tVZjdrS d9/23vEFF5w8NEy/Ud8Ov7AqBTN45WZZGWP7wJ8oMb8x7FxuM5V1/i+iAJQxsVPJu45B Ug6RmLLE9YfXgTfTqTZR+60MEeTyzwm9h1TdDp6UPv7z2yEVnrXFhB+v1lMRRrtOxDMp rSMw== 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=8qiXeFCQHMfrcvkAhK1aChACVtlmSwMwxlo4rTy0C0U=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=e9+T19it/n+wd5Jp9IJqB0Vw0yvNvwcOI4V2j/ZXN+Q5VmKAhlVL0kFJcyjO0ToFry WP9pLVjTR9l+Ch9QZl4DrIhSBSCjNOr+qX7VDxhlklmFGMjhxSsFg/uSiS1R08sShIlT rKLdlXp8EkzLbNDRWXDBVtG5Yac8wnVhAotdHAp+fMd5DdqwU6VqwIEKTFfBqzxRDuQG s+R+wotuAwpOF9QzcIsG+Zhidp1STWtQx0J3p0BcEyDqo33bGhD/h1zCQorwmEwBKRUg anjPhEuxeE7WGObU8Rk9Q4kzrfX0I370K2RxBw/T2dnsPhTIfMHFM1RUcjR43uvOu4Id Tbcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uE97oOV+; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id u17-20020a05620a023100b00780f8f53c87si19798156qkm.695.2023.12.29.13.30.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Dec 2023 13:30:29 -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=uE97oOV+; 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 ) id 1rJKPR-0005Gv-Tt; Fri, 29 Dec 2023 16:28:49 -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 1rJKPH-00059z-MY for qemu-devel@nongnu.org; Fri, 29 Dec 2023 16:28:40 -0500 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJKPG-0000Jp-03 for qemu-devel@nongnu.org; Fri, 29 Dec 2023 16:28:39 -0500 Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-5ce2170b716so2874504a12.1 for ; Fri, 29 Dec 2023 13:28:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703885316; x=1704490116; 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=8qiXeFCQHMfrcvkAhK1aChACVtlmSwMwxlo4rTy0C0U=; b=uE97oOV+JCRQJNiJHcKbswSjj2hOz7h4Tkb1DgXgKbMhB5jhof945wzjw10apnDq7B oJt71pQTw0QSHPVkdfVREa+lPWNyfCDV3GUovhujUF6NH3ZrsoxUAzELL84vRNKRd5gu YJei2he+4aEvt61WXQBlGOw87YEBRfFfYhDMNF/WdLod+LRTcFEhJMLz1BX70Xuv57nr TntS1h7EDlTGrhd1ui5OCgB4x5VtaV/+2Zl9ypjnh5oWTrvIoKzrE3ue2lE6KB2AUye6 eta6ryq7X70OPQhtkGHBO/MM4D5fR4mdVOfDewn22z3I1xQ/eKEtBXEonegHAFMD7nhj 2SLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703885316; x=1704490116; 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=8qiXeFCQHMfrcvkAhK1aChACVtlmSwMwxlo4rTy0C0U=; b=J1wlW3B6AuSqjI1hpMWPskzl9ejG74KDRZZHmIuBVIM94Wuy9aiLukTcI8I048B3pV swjESHaSsPgwUiTWalTozl2wDJc6GC7agP5u7zgTRTHh/XsrnxXKdw374nkOxa0RVFX1 FUCDs32yi5PcDZkrqx/zukfWazjZ8mOHSiBuWofWlLoMk7N3OxqeY+VN7EhctJOZTEuY Cbn4CjXKc8y+8dB5WjItNVRCZWSFtFcgZriky+fyG9hRv7t/SVDkekqKVuK2AMfgKlNW QSEOwZv6LTCSekfSmCA5CL4XGsHwMaB1uitGmRZzvzCN9TitFxM+AVvUdkoPyYOkLyer aBOA== X-Gm-Message-State: AOJu0YyTIgam3kYCsYf/rSndJ1kBpKgjY1mVFQ6jDL7S4vT+y5Yg2kfN u0kdEKJdRXE7QEtETQ6QFnEQeZ7OVlsJivVUbhg45ns4KnIeGQ== X-Received: by 2002:a05:6a20:8f01:b0:196:4d6a:c88d with SMTP id b1-20020a056a208f0100b001964d6ac88dmr3359105pzk.50.1703885316349; Fri, 29 Dec 2023 13:28:36 -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 bd33-20020a056a0027a100b006d9a96b7d0dsm11285396pfb.208.2023.12.29.13.28.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 13:28:36 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 43/71] hw/openrisc: Constify VMState Date: Sat, 30 Dec 2023 08:23:18 +1100 Message-Id: <20231229212346.147149-44-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 Received-SPF: pass client-ip=2607:f8b0:4864:20::52f; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x52f.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Richard Henderson Message-Id: <20231221031652.119827-44-richard.henderson@linaro.org> --- hw/openrisc/cputimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/openrisc/cputimer.c b/hw/openrisc/cputimer.c index 10163b391b..835986c4db 100644 --- a/hw/openrisc/cputimer.c +++ b/hw/openrisc/cputimer.c @@ -145,7 +145,7 @@ static const VMStateDescription vmstate_or1k_timer = { .name = "or1k_timer", .version_id = 1, .minimum_version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32(ttcr, OR1KTimerState), VMSTATE_UINT64(last_clk, OR1KTimerState), VMSTATE_END_OF_LIST()