mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
hw/misc: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-41-richard.henderson@linaro.org>
This commit is contained in:
parent
2a031ec751
commit
e4ea952fb0
83 changed files with 108 additions and 108 deletions
|
@ -1292,7 +1292,7 @@ static const VMStateDescription vmstate_q800_via1 = {
|
|||
.version_id = 0,
|
||||
.minimum_version_id = 0,
|
||||
.post_load = via1_post_load,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_STRUCT(parent_obj, MOS6522Q800VIA1State, 0, vmstate_mos6522,
|
||||
MOS6522State),
|
||||
VMSTATE_UINT8(last_b, MOS6522Q800VIA1State),
|
||||
|
@ -1411,7 +1411,7 @@ static const VMStateDescription vmstate_q800_via2 = {
|
|||
.name = "q800-via2",
|
||||
.version_id = 0,
|
||||
.minimum_version_id = 0,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_STRUCT(parent_obj, MOS6522Q800VIA2State, 0, vmstate_mos6522,
|
||||
MOS6522State),
|
||||
VMSTATE_END_OF_LIST()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue