[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 13/71] target/openrisc: Constify VMState in machine.c
From: |
Richard Henderson |
Subject: |
[PULL 13/71] target/openrisc: Constify VMState in machine.c |
Date: |
Sat, 30 Dec 2023 08:22:48 +1100 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-14-richard.henderson@linaro.org>
---
target/openrisc/machine.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/target/openrisc/machine.c b/target/openrisc/machine.c
index b7d7388640..3574e571cb 100644
--- a/target/openrisc/machine.c
+++ b/target/openrisc/machine.c
@@ -25,7 +25,7 @@ static const VMStateDescription vmstate_tlb_entry = {
.name = "tlb_entry",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINTTL(mr, OpenRISCTLBEntry),
VMSTATE_UINTTL(tr, OpenRISCTLBEntry),
VMSTATE_END_OF_LIST()
@@ -36,7 +36,7 @@ static const VMStateDescription vmstate_cpu_tlb = {
.name = "cpu_tlb",
.version_id = 2,
.minimum_version_id = 2,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_STRUCT_ARRAY(itlb, CPUOpenRISCTLBContext, TLB_SIZE, 0,
vmstate_tlb_entry, OpenRISCTLBEntry),
VMSTATE_STRUCT_ARRAY(dtlb, CPUOpenRISCTLBContext, TLB_SIZE, 0,
@@ -71,7 +71,7 @@ static const VMStateDescription vmstate_env = {
.name = "env",
.version_id = 6,
.minimum_version_id = 6,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINTTL_2DARRAY(shadow_gpr, CPUOpenRISCState, 16, 32),
VMSTATE_UINTTL(pc, CPUOpenRISCState),
VMSTATE_UINTTL(ppc, CPUOpenRISCState),
@@ -135,7 +135,7 @@ const VMStateDescription vmstate_openrisc_cpu = {
.version_id = 1,
.minimum_version_id = 1,
.post_load = cpu_post_load,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_CPU(),
VMSTATE_STRUCT(env, OpenRISCCPU, 1, vmstate_env, CPUOpenRISCState),
VMSTATE_END_OF_LIST()
--
2.34.1
- [PULL 02/71] target/arm: Constify VMState in machine.c, (continued)
- [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, 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 <=
- [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
- [PULL 17/71] target/sparc: Constify VMState in machine.c, Richard Henderson, 2023/12/29
- [PULL 18/71] hw/arm: Constify VMState, Richard Henderson, 2023/12/29
- [PULL 19/71] hw/core: Constify VMState, Richard Henderson, 2023/12/29
- [PULL 20/71] hw/9pfs: Constify VMState, Richard Henderson, 2023/12/29
- [PULL 21/71] hw/acpi: Constify VMState, Richard Henderson, 2023/12/29
- [PULL 22/71] hw/adc: Constify VMState, Richard Henderson, 2023/12/29