blob: 64d72fa1b9a89ed480e6e097f287f57e0a28abc5 [file] [log] [blame]
/*
* Copyright 2015 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __TPM2_TIME_FP_H
#define __TPM2_TIME_FP_H
void TimeFillInfo(
TPMS_CLOCK_INFO *clockInfo
);
TPM_RC TimeGetRange(
UINT16 offset, // IN: offset in TPMS_TIME_INFO
UINT16 size, // IN: size of data
TIME_INFO *dataBuffer // OUT: result buffer
);
void TimeSetAdjustRate(
TPM_CLOCK_ADJUST adjust // IN: adjust constant
);
void TimeStartup(
STARTUP_TYPE type // IN: start up type
);
void TimeUpdateToCurrent(
void
);
#endif // __TPM2_TIME_FP_H