]> Git Repo - qemu.git/blob - target/lm32/machine.c
Merge remote-tracking branch 'remotes/stefanberger/tags/pull-tpm-2017-10-24-1' into...
[qemu.git] / target / lm32 / machine.c
1 #include "qemu/osdep.h"
2 #include "qemu-common.h"
3 #include "cpu.h"
4 #include "hw/hw.h"
5 #include "hw/boards.h"
6 #include "migration/cpu.h"
7
8 static const VMStateDescription vmstate_env = {
9     .name = "env",
10     .version_id = 1,
11     .minimum_version_id = 1,
12     .fields = (VMStateField[]) {
13         VMSTATE_UINT32_ARRAY(regs, CPULM32State, 32),
14         VMSTATE_UINT32(pc, CPULM32State),
15         VMSTATE_UINT32(ie, CPULM32State),
16         VMSTATE_UINT32(icc, CPULM32State),
17         VMSTATE_UINT32(dcc, CPULM32State),
18         VMSTATE_UINT32(cc, CPULM32State),
19         VMSTATE_UINT32(eba, CPULM32State),
20         VMSTATE_UINT32(dc, CPULM32State),
21         VMSTATE_UINT32(deba, CPULM32State),
22         VMSTATE_UINT32_ARRAY(bp, CPULM32State, 4),
23         VMSTATE_UINT32_ARRAY(wp, CPULM32State, 4),
24         VMSTATE_END_OF_LIST()
25     }
26 };
27
28 const VMStateDescription vmstate_lm32_cpu = {
29     .name = "cpu",
30     .version_id = 1,
31     .minimum_version_id = 1,
32     .fields = (VMStateField[]) {
33         VMSTATE_STRUCT(env, LM32CPU, 1, vmstate_env, CPULM32State),
34         VMSTATE_END_OF_LIST()
35     }
36 };
This page took 0.02671 seconds and 4 git commands to generate.