mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
hw/intc: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-35-richard.henderson@linaro.org>
This commit is contained in:
parent
af0f07dfc7
commit
45b1f81d90
38 changed files with 77 additions and 77 deletions
|
@ -141,7 +141,7 @@ static const VMStateDescription vmstate_heathrow_pic_one = {
|
|||
.name = "heathrow_pic_one",
|
||||
.version_id = 0,
|
||||
.minimum_version_id = 0,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_UINT32(events, HeathrowPICState),
|
||||
VMSTATE_UINT32(mask, HeathrowPICState),
|
||||
VMSTATE_UINT32(levels, HeathrowPICState),
|
||||
|
@ -154,7 +154,7 @@ static const VMStateDescription vmstate_heathrow = {
|
|||
.name = "heathrow_pic",
|
||||
.version_id = 1,
|
||||
.minimum_version_id = 1,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_STRUCT_ARRAY(pics, HeathrowState, 2, 1,
|
||||
vmstate_heathrow_pic_one, HeathrowPICState),
|
||||
VMSTATE_END_OF_LIST()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue