virtio: minor cleanup
[qemu/cris-port.git] / target-moxie / machine.c
blobb9316f0ec377df30c1f0df34867d9a6647b5e4c3
1 #include "hw/hw.h"
2 #include "hw/boards.h"
3 #include "machine.h"
5 const VMStateDescription vmstate_moxie_cpu = {
6 .name = "cpu",
7 .version_id = 1,
8 .minimum_version_id = 1,
9 .fields = (VMStateField[]) {
10 VMSTATE_UINT32(flags, CPUMoxieState),
11 VMSTATE_UINT32_ARRAY(gregs, CPUMoxieState, 16),
12 VMSTATE_UINT32_ARRAY(sregs, CPUMoxieState, 256),
13 VMSTATE_UINT32(pc, CPUMoxieState),
14 VMSTATE_UINT32(cc_a, CPUMoxieState),
15 VMSTATE_UINT32(cc_b, CPUMoxieState),
16 VMSTATE_END_OF_LIST()