[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 39/71] hw/m68k: Constify VMState
|
From: |
Richard Henderson |
|
Subject: |
[PATCH 39/71] hw/m68k: Constify VMState |
|
Date: |
Sun, 5 Nov 2023 22:57:55 -0800 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/m68k/next-cube.c | 4 ++--
hw/m68k/q800-glue.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/m68k/next-cube.c b/hw/m68k/next-cube.c
index fabd861941..baca38bf39 100644
--- a/hw/m68k/next-cube.c
+++ b/hw/m68k/next-cube.c
@@ -996,7 +996,7 @@ static const VMStateDescription next_rtc_vmstate = {
.name = "next-rtc",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT8_ARRAY(ram, NextRtc, 32),
VMSTATE_UINT8(command, NextRtc),
VMSTATE_UINT8(value, NextRtc),
@@ -1011,7 +1011,7 @@ static const VMStateDescription next_pc_vmstate = {
.name = "next-pc",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT32(scr1, NeXTPC),
VMSTATE_UINT32(scr2, NeXTPC),
VMSTATE_UINT32(int_mask, NeXTPC),
diff --git a/hw/m68k/q800-glue.c b/hw/m68k/q800-glue.c
index f413b1599a..b5a7713863 100644
--- a/hw/m68k/q800-glue.c
+++ b/hw/m68k/q800-glue.c
@@ -189,7 +189,7 @@ static const VMStateDescription vmstate_glue = {
.name = "q800-glue",
.version_id = 0,
.minimum_version_id = 0,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT8(ipr, GLUEState),
VMSTATE_UINT8(auxmode, GLUEState),
VMSTATE_TIMER_PTR(nmi_release, GLUEState),
--
2.34.1
- [PATCH 23/71] hw/audio: Constify VMState, (continued)
- [PATCH 23/71] hw/audio: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 29/71] hw/hyperv: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 32/71] hw/ide: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 34/71] hw/intc: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 20/71] hw/9pfs: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 26/71] hw/display: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 30/71] hw/i2c: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 31/71] hw/i386: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 39/71] hw/m68k: Constify VMState,
Richard Henderson <=
- [PATCH 35/71] hw/ipack: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 37/71] hw/isa: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 22/71] hw/adc: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 27/71] hw/dma: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 36/71] hw/ipmi: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 47/71] hw/ppc: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 50/71] hw/s390x: Constify VMState, Richard Henderson, 2023/11/06
- [PATCH 53/71] hw/sensor: Constify VMState, Richard Henderson, 2023/11/06