2016-01-26 21:17:25 +03:00
|
|
|
#include "qemu/osdep.h"
|
2016-03-15 18:58:45 +03:00
|
|
|
#include "qemu-common.h"
|
|
|
|
#include "cpu.h"
|
2013-03-18 23:49:22 +04:00
|
|
|
#include "hw/hw.h"
|
|
|
|
#include "hw/boards.h"
|
2015-02-07 00:43:12 +03:00
|
|
|
#include "machine.h"
|
2016-03-15 14:51:18 +03:00
|
|
|
#include "migration/cpu.h"
|
2013-03-18 23:49:22 +04:00
|
|
|
|
|
|
|
const VMStateDescription vmstate_moxie_cpu = {
|
|
|
|
.name = "cpu",
|
2013-04-08 19:51:46 +04:00
|
|
|
.version_id = 1,
|
2013-03-18 23:49:22 +04:00
|
|
|
.minimum_version_id = 1,
|
2014-04-16 18:01:33 +04:00
|
|
|
.fields = (VMStateField[]) {
|
2013-03-18 23:49:22 +04:00
|
|
|
VMSTATE_UINT32(flags, CPUMoxieState),
|
|
|
|
VMSTATE_UINT32_ARRAY(gregs, CPUMoxieState, 16),
|
|
|
|
VMSTATE_UINT32_ARRAY(sregs, CPUMoxieState, 256),
|
|
|
|
VMSTATE_UINT32(pc, CPUMoxieState),
|
|
|
|
VMSTATE_UINT32(cc_a, CPUMoxieState),
|
|
|
|
VMSTATE_UINT32(cc_b, CPUMoxieState),
|
|
|
|
VMSTATE_END_OF_LIST()
|
|
|
|
}
|
|
|
|
};
|