blob: b9316f0ec377df30c1f0df34867d9a6647b5e4c3 [file] [log] [blame]
Anthony Green525bd322013-03-18 15:49:22 -04001#include "hw/hw.h"
2#include "hw/boards.h"
Stefan Weil302fe122015-02-06 22:43:12 +01003#include "machine.h"
Anthony Green525bd322013-03-18 15:49:22 -04004
5const VMStateDescription vmstate_moxie_cpu = {
6 .name = "cpu",
Peter Maydell183543c2013-04-08 16:51:46 +01007 .version_id = 1,
Anthony Green525bd322013-03-18 15:49:22 -04008 .minimum_version_id = 1,
Juan Quintela35d08452014-04-16 16:01:33 +02009 .fields = (VMStateField[]) {
Anthony Green525bd322013-03-18 15:49:22 -040010 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};