[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 04/71] target/alpha: Constify VMState in machine.c
From: |
Richard Henderson |
Subject: |
[PULL 04/71] target/alpha: Constify VMState in machine.c |
Date: |
Sat, 30 Dec 2023 08:22:39 +1100 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-5-richard.henderson@linaro.org>
---
target/alpha/machine.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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()
--
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 <=
- [PULL 06/71] target/cris: Constify VMState in machine.c, Richard Henderson, 2023/12/29
- [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