acpi: add interface to access user-installed tables
[qemu.git] / target-lm32 / machine.c
blob9e0919c2545ee2f0c92a5af71f55451c78fad9c2
1 #include "hw/hw.h"
2 #include "hw/boards.h"
4 static const VMStateDescription vmstate_env = {
5 .name = "env",
6 .version_id = 1,
7 .minimum_version_id = 1,
8 .minimum_version_id_old = 1,
9 .fields = (VMStateField[]) {
10 VMSTATE_UINT32_ARRAY(regs, CPULM32State, 32),
11 VMSTATE_UINT32(pc, CPULM32State),
12 VMSTATE_UINT32(ie, CPULM32State),
13 VMSTATE_UINT32(icc, CPULM32State),
14 VMSTATE_UINT32(dcc, CPULM32State),
15 VMSTATE_UINT32(cc, CPULM32State),
16 VMSTATE_UINT32(eba, CPULM32State),
17 VMSTATE_UINT32(dc, CPULM32State),
18 VMSTATE_UINT32(deba, CPULM32State),
19 VMSTATE_UINT32_ARRAY(bp, CPULM32State, 4),
20 VMSTATE_UINT32_ARRAY(wp, CPULM32State, 4),
21 VMSTATE_END_OF_LIST()
25 const VMStateDescription vmstate_lm32_cpu = {
26 .name = "cpu",
27 .version_id = 1,
28 .minimum_version_id = 1,
29 .minimum_version_id_old = 1,
30 .fields = (VMStateField[]) {
31 VMSTATE_STRUCT(env, LM32CPU, 1, vmstate_env, CPULM32State),
32 VMSTATE_END_OF_LIST()