block/vpc: Don't abuse the footer buffer for dynamic header
[qemu/ar7.git] / hw / core / clock-vmstate.c
blob260b13fc2c8826ce5b9211f431a9886e862c8068
1 /*
2 * Clock migration structure
4 * Copyright GreenSocs 2019-2020
6 * Authors:
7 * Damien Hedde
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.
13 #include "qemu/osdep.h"
14 #include "migration/vmstate.h"
15 #include "hw/clock.h"
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()