trap signals for "-serial mon:stdio"
[qemu.git] / target-moxie / machine.c
1 #include "hw/hw.h"
2 #include "hw/boards.h"
3
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()
17 }
18 };