Merge remote-tracking branch 'remotes/armbru/tags/pull-monitor-2016-08-08' into staging
[qemu/kevin.git] / target-moxie / machine.c
blob282dcd869f283b58a95b36e3b5e508d0e1f4e599
1 #include "qemu/osdep.h"
2 #include "qemu-common.h"
3 #include "cpu.h"
4 #include "hw/hw.h"
5 #include "hw/boards.h"
6 #include "machine.h"
7 #include "migration/cpu.h"
9 const VMStateDescription vmstate_moxie_cpu = {
10 .name = "cpu",
11 .version_id = 1,
12 .minimum_version_id = 1,
13 .fields = (VMStateField[]) {
14 VMSTATE_UINT32(flags, CPUMoxieState),
15 VMSTATE_UINT32_ARRAY(gregs, CPUMoxieState, 16),
16 VMSTATE_UINT32_ARRAY(sregs, CPUMoxieState, 256),
17 VMSTATE_UINT32(pc, CPUMoxieState),
18 VMSTATE_UINT32(cc_a, CPUMoxieState),
19 VMSTATE_UINT32(cc_b, CPUMoxieState),
20 VMSTATE_END_OF_LIST()