blob: fcf10e02bbb9efe90b991e80a79db9fcb196d0a6 [file] [log] [blame]
Vadim Bendeburyb86371b2015-05-27 18:16:19 -07001/*
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
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070010void TimeFillInfo(TPMS_CLOCK_INFO *clockInfo);
11TPM_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 );
15void TimePowerOn(void);
16void TimeSetAdjustRate(TPM_CLOCK_ADJUST adjust // IN: adjust constant
17 );
18void TimeStartup(STARTUP_TYPE type // IN: start up type
19 );
20void TimeUpdateToCurrent(void);
Vadim Bendeburyda725062015-05-31 14:41:18 -070021
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070022#endif // __TPM2_TIME_FP_H