1
/*********************************************************
2
* Copyright (C) 2010 VMware, Inc. All rights reserved.
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU Lesser General Public License as published
6
* by the Free Software Foundation version 2.1 and no later version.
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10
* or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU General Public
11
* License for more details.
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program; if not, write to the Free Software Foundation, Inc.,
15
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17
*********************************************************/
22
* Null implementation of the NTP PLL.
27
#include "vm_assert.h"
31
******************************************************************************
32
* TimeSync_PLLSupported -- */ /**
34
* Report whether the platform supports an NTP style Type-II Phase Locked
35
* Loop for correcting the time.
37
* @return TRUE iff NTP Phase Locked Loop is supported.
39
******************************************************************************
43
TimeSync_PLLSupported(void)
50
******************************************************************************
51
* TimeSync_PLLSetFrequency -- */ /**
53
* Set the frequency of the PLL.
55
* @param[in] ppmCorrection The parts per million error that should be
56
* corrected. This value is the ppm shifted
57
* left by 16 to match NTP.
61
******************************************************************************
65
TimeSync_PLLSetFrequency(int64 ppmCorrection)
73
******************************************************************************
74
* TimeSync_PLLUpdate -- */ /**
76
* Updates the PLL with a new offset.
78
* @param[in] offset The offset between the host and the guest.
82
******************************************************************************
86
TimeSync_PLLUpdate(int64 offset)