1 | #include "qemu/osdep.h" |
2 | #include "cpu.h" |
3 | #include "machine.h" |
4 | #include "migration/cpu.h" |
5 | |
6 | const VMStateDescription vmstate_moxie_cpu = { |
7 | .name = "cpu" , |
8 | .version_id = 1, |
9 | .minimum_version_id = 1, |
10 | .fields = (VMStateField[]) { |
11 | VMSTATE_UINT32(flags, CPUMoxieState), |
12 | VMSTATE_UINT32_ARRAY(gregs, CPUMoxieState, 16), |
13 | VMSTATE_UINT32_ARRAY(sregs, CPUMoxieState, 256), |
14 | VMSTATE_UINT32(pc, CPUMoxieState), |
15 | VMSTATE_UINT32(cc_a, CPUMoxieState), |
16 | VMSTATE_UINT32(cc_b, CPUMoxieState), |
17 | VMSTATE_END_OF_LIST() |
18 | } |
19 | }; |
20 | |