]> Git Repo - qemu.git/blame - target-lm32/machine.c
savevm: Remove all the unneeded version_minimum_id_old (rest)
[qemu.git] / target-lm32 / machine.c
CommitLineData
c6af5693
MW
1#include "hw/hw.h"
2#include "hw/boards.h"
3
0ad6773f
AF
4static const VMStateDescription vmstate_env = {
5 .name = "env",
6 .version_id = 1,
c6af5693 7 .minimum_version_id = 1,
35d08458 8 .fields = (VMStateField[]) {
6393c08d
AF
9 VMSTATE_UINT32_ARRAY(regs, CPULM32State, 32),
10 VMSTATE_UINT32(pc, CPULM32State),
11 VMSTATE_UINT32(ie, CPULM32State),
12 VMSTATE_UINT32(icc, CPULM32State),
13 VMSTATE_UINT32(dcc, CPULM32State),
14 VMSTATE_UINT32(cc, CPULM32State),
15 VMSTATE_UINT32(eba, CPULM32State),
16 VMSTATE_UINT32(dc, CPULM32State),
17 VMSTATE_UINT32(deba, CPULM32State),
18 VMSTATE_UINT32_ARRAY(bp, CPULM32State, 4),
19 VMSTATE_UINT32_ARRAY(wp, CPULM32State, 4),
c6af5693
MW
20 VMSTATE_END_OF_LIST()
21 }
22};
23
0ad6773f
AF
24const VMStateDescription vmstate_lm32_cpu = {
25 .name = "cpu",
26 .version_id = 1,
27 .minimum_version_id = 1,
35d08458 28 .fields = (VMStateField[]) {
0ad6773f
AF
29 VMSTATE_STRUCT(env, LM32CPU, 1, vmstate_env, CPULM32State),
30 VMSTATE_END_OF_LIST()
31 }
32};
This page took 0.316801 seconds and 4 git commands to generate.