Merge remote-tracking branch 'remotes/philmd-gitlab/tags/renesas-20201027' into staging
[qemu.git] / hw / core / clock-vmstate.c
1 /*
2 * Clock migration structure
3 *
4 * Copyright GreenSocs 2019-2020
5 *
6 * Authors:
7 * Damien Hedde
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
11 */
12
13 #include "qemu/osdep.h"
14 #include "migration/vmstate.h"
15 #include "hw/clock.h"
16
17 const VMStateDescription vmstate_clock = {
18 .name = "clock",
19 .version_id = 0,
20 .minimum_version_id = 0,
21 .fields = (VMStateField[]) {
22 VMSTATE_UINT64(period, Clock),
23 VMSTATE_END_OF_LIST()
24 }
25 };