host-libusb: Correct test for USB packet state
[qemu/ar7.git] / target-moxie / machine.c
blob0f5992b6a0a3f9b26eb202a3f826b5a3ab543030
1 #include "hw/hw.h"
2 #include "hw/boards.h"
4 const VMStateDescription vmstate_moxie_cpu = {
5 .name = "cpu",
6 .version_id = 1,
7 .minimum_version_id = 1,
8 .minimum_version_id_old = 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()