[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 06/71] target/cris: Constify VMState in machine.c
From: |
Richard Henderson |
Subject: |
[PULL 06/71] target/cris: Constify VMState in machine.c |
Date: |
Sat, 30 Dec 2023 08:22:41 +1100 |
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
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 = {
.name = "cpu/tlbset",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT32(lo, TLBSet),
VMSTATE_UINT32(hi, TLBSet),
VMSTATE_END_OF_LIST()
@@ -37,7 +37,7 @@ static const VMStateDescription vmstate_cris_env = {
.name = "env",
.version_id = 2,
.minimum_version_id = 2,
- .fields = (VMStateField[]) {
+ .fields = (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 = {
.name = "cpu",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_CPU(),
VMSTATE_STRUCT(env, CRISCPU, 1, vmstate_cris_env, CPUCRISState),
VMSTATE_END_OF_LIST()
--
2.34.1
- [PULL 00/71] Constify VMState, Richard Henderson, 2023/12/29
- [PULL 01/71] migration: Make VMStateDescription.subsections const, Richard Henderson, 2023/12/29
- [PULL 02/71] target/arm: Constify VMState in machine.c, Richard Henderson, 2023/12/29
- [PULL 03/71] target/arm: Constify hvf/hvf.c, Richard Henderson, 2023/12/29
- [PULL 05/71] target/avr: Constify VMState in machine.c, Richard Henderson, 2023/12/29
- [PULL 04/71] target/alpha: Constify VMState in machine.c, Richard Henderson, 2023/12/29
- [PULL 06/71] target/cris: Constify VMState in machine.c,
Richard Henderson <=
- [PULL 09/71] target/loongarch: Constify VMState in machine.c, Richard Henderson, 2023/12/29
- [PULL 07/71] target/hppa: Constify VMState in machine.c, Richard Henderson, 2023/12/29
- [PULL 08/71] target/i386: Constify VMState in machine.c, Richard Henderson, 2023/12/29
- [PULL 11/71] target/microblaze: Constify VMState in machine.c, Richard Henderson, 2023/12/29
- [PULL 10/71] target/m68k: Constify VMState in machine.c, Richard Henderson, 2023/12/29
- [PULL 13/71] target/openrisc: Constify VMState in machine.c, Richard Henderson, 2023/12/29
- [PULL 12/71] target/mips: Constify VMState in machine.c, Richard Henderson, 2023/12/29
- [PULL 14/71] target/ppc: Constify VMState in machine.c, Richard Henderson, 2023/12/29
- [PULL 15/71] target/riscv: Constify VMState in machine.c, Richard Henderson, 2023/12/29
- [PULL 16/71] target/s390x: Constify VMState in machine.c, Richard Henderson, 2023/12/29