[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/71] target/microblaze: Constify VMState in machine.c
From: |
Richard Henderson |
Subject: |
[PATCH 11/71] target/microblaze: Constify VMState in machine.c |
Date: |
Sun, 5 Nov 2023 22:57:27 -0800 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/microblaze/machine.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/microblaze/machine.c b/target/microblaze/machine.c
index d24def3992..51705e4f5c 100644
--- a/target/microblaze/machine.c
+++ b/target/microblaze/machine.c
@@ -22,7 +22,7 @@
#include "migration/cpu.h"
-static VMStateField vmstate_mmu_fields[] = {
+static const VMStateField vmstate_mmu_fields[] = {
VMSTATE_UINT64_2DARRAY(rams, MicroBlazeMMU, 2, TLB_ENTRIES),
VMSTATE_UINT8_ARRAY(tids, MicroBlazeMMU, TLB_ENTRIES),
VMSTATE_UINT32_ARRAY(regs, MicroBlazeMMU, 3),
@@ -60,7 +60,7 @@ static const VMStateInfo vmstate_msr = {
.put = put_msr,
};
-static VMStateField vmstate_env_fields[] = {
+static const VMStateField vmstate_env_fields[] = {
VMSTATE_UINT32_ARRAY(regs, CPUMBState, 32),
VMSTATE_UINT32(pc, CPUMBState),
@@ -92,7 +92,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, MicroBlazeCPU, 1, vmstate_env, CPUMBState),
VMSTATE_END_OF_LIST()
--
2.34.1
- [PATCH 02/71] target/arm: Constify VMState in machine.c, (continued)
- [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, 2023/11/06
- [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 <=
- [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
- [PATCH 16/71] target/s390x: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 10/71] target/m68k: Constify VMState in machine.c, Richard Henderson, 2023/11/06
- [PATCH 19/71] hw/core: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 21/71] hw/acpi: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 18/71] hw/arm: Constify VMState, Richard Henderson, 2023/11/06