aboutsummaryrefslogtreecommitdiff
path: root/ClockRateAdjust_fp.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2015-05-28 16:05:45 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-03 01:28:06 +0000
commit6fc1e9fdb80722a2d4f1d944790b5db64c7dee3a (patch)
treecc5ff3f3e222a5e944fa35ae6ff66a1ec1aadeef /ClockRateAdjust_fp.h
parentd0c32ac768c70a601c79eac7cd01c6b79eb3a05d (diff)
downloadtpm2-6fc1e9fdb80722a2d4f1d944790b5db64c7dee3a.tar.gz
Changes to allow compilation of ClockRateAdjust.c
BUG=none TEST=compilation succeeds: cc -Wall -Werror -c -o /dev/null ClockRateAdjust.c Change-Id: I63cfc2662bd4d58fde7c383318e61fecbb4373d7 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/274090 Reviewed-by: Darren Krahn <dkrahn@chromium.org>
Diffstat (limited to 'ClockRateAdjust_fp.h')
-rw-r--r--ClockRateAdjust_fp.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/ClockRateAdjust_fp.h b/ClockRateAdjust_fp.h
new file mode 100644
index 0000000..81f0444
--- /dev/null
+++ b/ClockRateAdjust_fp.h
@@ -0,0 +1,18 @@
+/*
+ * 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_CLOCKRATEADJUST_FP_H
+#define __TPM2_CLOCKRATEADJUST_FP_H
+
+typedef struct {
+ TPM_CLOCK_ADJUST rateAdjust; // IN: adjust constant
+} ClockRateAdjust_In;
+
+TPM_RC TPM2_ClockRateAdjust(
+ ClockRateAdjust_In *in // IN: input parameter list
+);
+
+#endif // __TPM2_CLOCKRATEADJUST_FP_H