target-s390x: fix and optimize slb* and slbg* computation of carry/borrow flag
[qemu.git] / target-moxie / machine.c
blobda1a8572a82415c41bb3adbf3c9a236eb2bb5b7a
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 .fields = (VMStateField[]) {
9 VMSTATE_UINT32(flags, CPUMoxieState),
10 VMSTATE_UINT32_ARRAY(gregs, CPUMoxieState, 16),
11 VMSTATE_UINT32_ARRAY(sregs, CPUMoxieState, 256),
12 VMSTATE_UINT32(pc, CPUMoxieState),
13 VMSTATE_UINT32(cc_a, CPUMoxieState),
14 VMSTATE_UINT32(cc_b, CPUMoxieState),
15 VMSTATE_END_OF_LIST()