historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/include/hw/kvm/clock.h
2024-01-16 11:20:27 -06:00

28 lines
472 B
C

/*
* QEMU KVM support, paravirtual clock device
*
* Copyright (C) 2011 Siemens AG
*
* Authors:
* Jan Kiszka <jan.kiszka@siemens.com>
*
* This work is licensed under the terms of the GNU GPL version 2.
* See the COPYING file in the top-level directory.
*/
#ifndef HW_KVM_CLOCK_H
#define HW_KVM_CLOCK_H
#ifdef CONFIG_KVM
void kvmclock_create(void);
#else /* CONFIG_KVM */
static inline void kvmclock_create(void)
{
}
#endif /* !CONFIG_KVM */
#endif