2013-03-18 20:49:22 +01:00
|
|
|
#include "hw/hw.h"
|
|
|
|
#include "hw/boards.h"
|
2015-02-06 22:43:12 +01:00
|
|
|
#include "machine.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()
|
|
|
|
}
|
|
|
|
};
|