3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-01-30 14:52:17 +00:00
Brooklyn/include/linux/ptp_kvm.h
Raziel K. Crowe 8b701010de mempow update
2022-09-13 23:14:27 +05:00

22 lines
456 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Virtual PTP 1588 clock for use with KVM guests
*
* Copyright (C) 2017 Red Hat Inc.
*/
#ifndef _PTP_KVM_H_
#define _PTP_KVM_H_
#include <linux/types.h>
struct timespec64;
struct clocksource;
int kvm_arch_ptp_init(void);
int kvm_arch_ptp_get_clock(struct timespec64 *ts);
int kvm_arch_ptp_get_crosststamp(u64 *cycle,
struct timespec64 *tspec, struct clocksource **cs);
#endif /* _PTP_KVM_H_ */