4 static const VMStateDescription vmstate_env
= {
7 .minimum_version_id
= 1,
8 .fields
= (VMStateField
[]) {
9 VMSTATE_UINT32_ARRAY(regs
, CPULM32State
, 32),
10 VMSTATE_UINT32(pc
, CPULM32State
),
11 VMSTATE_UINT32(ie
, CPULM32State
),
12 VMSTATE_UINT32(icc
, CPULM32State
),
13 VMSTATE_UINT32(dcc
, CPULM32State
),
14 VMSTATE_UINT32(cc
, CPULM32State
),
15 VMSTATE_UINT32(eba
, CPULM32State
),
16 VMSTATE_UINT32(dc
, CPULM32State
),
17 VMSTATE_UINT32(deba
, CPULM32State
),
18 VMSTATE_UINT32_ARRAY(bp
, CPULM32State
, 4),
19 VMSTATE_UINT32_ARRAY(wp
, CPULM32State
, 4),
24 const VMStateDescription vmstate_lm32_cpu
= {
27 .minimum_version_id
= 1,
28 .fields
= (VMStateField
[]) {
29 VMSTATE_STRUCT(env
, LM32CPU
, 1, vmstate_env
, CPULM32State
),