2016-01-26 19:17:25 +01:00
|
|
|
#include "qemu/osdep.h"
|
2016-03-15 16:58:45 +01:00
|
|
|
#include "cpu.h"
|
2015-02-06 22:43:12 +01:00
|
|
|
#include "machine.h"
|
2016-03-15 12:51:18 +01:00
|
|
|
#include "migration/cpu.h"
|
2013-03-18 20:49:22 +01:00
|
|
|
|
|
|
|
const VMStateDescription vmstate_moxie_cpu = {
|
|
|
|
.name = "cpu",
|
2013-04-08 17:51:46 +02:00
|
|
|
.version_id = 1,
|
2013-03-18 20:49:22 +01:00
|
|
|
.minimum_version_id = 1,
|
2014-04-16 16:01:33 +02:00
|
|
|
.fields = (VMStateField[]) {
|
2013-03-18 20:49:22 +01: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()
|
|
|
|
}
|
|
|
|
};
|