These changes are the raw update to qemu-2.6.
[kvmfornfv.git] / qemu / target-moxie / machine.c
1 #include "qemu/osdep.h"
2 #include "hw/hw.h"
3 #include "hw/boards.h"
4 #include "machine.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 };