1 /* 2 * Copyright 2015 The Chromium OS Authors. All rights reserved. 3 * Use of this source code is governed by a BSD-style license that can be 4 * found in the LICENSE file. 5 */ 6 7 #ifndef __TPM2_TIME_FP_H 8 #define __TPM2_TIME_FP_H 9 10 void TimeFillInfo(TPMS_CLOCK_INFO *clockInfo); 11 TPM_RC TimeGetRange(UINT16 offset, // IN: offset in TPMS_TIME_INFO 12 UINT16 size, // IN: size of data 13 TIME_INFO *dataBuffer // OUT: result buffer 14 ); 15 void TimePowerOn(void); 16 void TimeSetAdjustRate(TPM_CLOCK_ADJUST adjust // IN: adjust constant 17 ); 18 void TimeStartup(STARTUP_TYPE type // IN: start up type 19 ); 20 void TimeUpdateToCurrent(void); 21 22 #endif // __TPM2_TIME_FP_H 23