[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 07/71] target/hppa: Constify VMState in machine.c
|
From: |
Richard Henderson |
|
Subject: |
[PATCH 07/71] target/hppa: Constify VMState in machine.c |
|
Date: |
Sun, 5 Nov 2023 22:57:23 -0800 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/hppa/machine.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/hppa/machine.c b/target/hppa/machine.c
index 905991d7f9..e4b358d038 100644
--- a/target/hppa/machine.c
+++ b/target/hppa/machine.c
@@ -122,7 +122,7 @@ static const VMStateInfo vmstate_tlb = {
.put = put_tlb,
};
-static VMStateField vmstate_env_fields[] = {
+static const VMStateField vmstate_env_fields[] = {
VMSTATE_UINTTR_ARRAY(gr, CPUHPPAState, 32),
VMSTATE_UINT64_ARRAY(fr, CPUHPPAState, 32),
VMSTATE_UINT64_ARRAY(sr, CPUHPPAState, 8),
@@ -166,7 +166,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, HPPACPU, 1, vmstate_env, CPUHPPAState),
VMSTATE_END_OF_LIST()
--
2.34.1
- Re: [PATCH 01/71] migration: Make VMStateDescription.subsections const, (continued)
- [PATCH 03/71] targt/arm: Constify hvf/hvf.c, Richard Henderson, 2023/11/06
- [PATCH 04/71] target/alpha: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 02/71] target/arm: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 05/71] target/avr: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 07/71] target/hppa: Constify VMState in machine.c,
Richard Henderson <=
- [PATCH 08/71] target/i386: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 09/71] target/loongarch: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 06/71] target/cris: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 11/71] target/microblaze: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 12/71] target/mips: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 13/71] target/openrisc: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 14/71] target/ppc: Constify VMState in machine.c, Richard Henderson, 2023/11/06