mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/timer: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-57-richard.henderson@linaro.org>
This commit is contained in:
parent
0aa6c7df8c
commit
ba324b3fb4
31 changed files with 57 additions and 57 deletions
|
@ -501,7 +501,7 @@ static const VMStateDescription vmstate_pxa2xx_timer0_regs = {
|
|||
.name = "pxa2xx_timer0",
|
||||
.version_id = 2,
|
||||
.minimum_version_id = 2,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_UINT32(value, PXA2xxTimer0),
|
||||
VMSTATE_END_OF_LIST(),
|
||||
},
|
||||
|
@ -511,7 +511,7 @@ static const VMStateDescription vmstate_pxa2xx_timer4_regs = {
|
|||
.name = "pxa2xx_timer4",
|
||||
.version_id = 1,
|
||||
.minimum_version_id = 1,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_STRUCT(tm, PXA2xxTimer4, 1,
|
||||
vmstate_pxa2xx_timer0_regs, PXA2xxTimer0),
|
||||
VMSTATE_INT32(oldclock, PXA2xxTimer4),
|
||||
|
@ -533,7 +533,7 @@ static const VMStateDescription vmstate_pxa2xx_timer_regs = {
|
|||
.version_id = 1,
|
||||
.minimum_version_id = 1,
|
||||
.post_load = pxa25x_timer_post_load,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_INT32(clock, PXA2xxTimerInfo),
|
||||
VMSTATE_INT32(oldclock, PXA2xxTimerInfo),
|
||||
VMSTATE_UINT64(lastload, PXA2xxTimerInfo),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue