Vadim Bendebury | b86371b | 2015-05-27 18:16:19 -0700 | [diff] [blame] | 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( |
| 11 | TPMS_CLOCK_INFO *clockInfo |
| 12 | ); |
Vadim Bendebury | aeff48d | 2015-06-01 14:17:50 -0700 | [diff] [blame] | 13 | TPM_RC TimeGetRange( |
| 14 | UINT16 offset, // IN: offset in TPMS_TIME_INFO |
| 15 | UINT16 size, // IN: size of data |
| 16 | TIME_INFO *dataBuffer // OUT: result buffer |
| 17 | ); |
Vadim Bendebury | ff6d843 | 2015-06-01 19:18:37 -0700 | [diff] [blame] | 18 | void TimePowerOn( |
| 19 | void |
| 20 | ); |
Vadim Bendebury | 6fc1e9f | 2015-05-28 16:05:45 -0700 | [diff] [blame] | 21 | void TimeSetAdjustRate( |
| 22 | TPM_CLOCK_ADJUST adjust // IN: adjust constant |
| 23 | ); |
Vadim Bendebury | 523b0eb | 2015-06-01 18:53:59 -0700 | [diff] [blame] | 24 | void TimeStartup( |
| 25 | STARTUP_TYPE type // IN: start up type |
| 26 | ); |
Vadim Bendebury | da72506 | 2015-05-31 14:41:18 -0700 | [diff] [blame] | 27 | void TimeUpdateToCurrent( |
| 28 | void |
| 29 | ); |
| 30 | |
Vadim Bendebury | b86371b | 2015-05-27 18:16:19 -0700 | [diff] [blame] | 31 | #endif // __TPM2_TIME_FP_H |