vl: extract softmmu/globals.c
[qemu/ar7.git] / target / moxie / machine.c
blobd0f177048c42be071ae198eb7fccb7f2f4f617cb
1 #include "qemu/osdep.h"
2 #include "cpu.h"
3 #include "machine.h"
4 #include "migration/cpu.h"
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()