aboutsummaryrefslogtreecommitdiff
path: root/NV_WriteLock_fp.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2015-06-01 10:13:00 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-03 21:46:13 +0000
commitbdcc5202ff9b13e5a0acce2201cc56bd44de9931 (patch)
tree66b779a770ebfff30ee5c188dbab18be31152004 /NV_WriteLock_fp.h
parentf3771f7917696d8f3cfdc3be49be5c4426a223c9 (diff)
downloadtpm2-bdcc5202ff9b13e5a0acce2201cc56bd44de9931.tar.gz
Changes to allow compilation of NV_WriteLock.c
BUG=none TEST=compilation succeeds: cc -Wall -Werror -c -o /dev/null NV_WriteLock.c Change-Id: If305fe911ff33044b5b0542204b5e7875eea3f6b Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/274617 Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
Diffstat (limited to 'NV_WriteLock_fp.h')
-rw-r--r--NV_WriteLock_fp.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/NV_WriteLock_fp.h b/NV_WriteLock_fp.h
new file mode 100644
index 0000000..3dccfbd
--- /dev/null
+++ b/NV_WriteLock_fp.h
@@ -0,0 +1,19 @@
+/*
+ * 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_NV_WRITELOCK_FP_H_
+#define __TPM2_NV_WRITELOCK_FP_H_
+
+typedef struct {
+ TPM_HANDLE authHandle;
+ TPMI_RH_NV_INDEX nvIndex;
+} NV_WriteLock_In;
+
+TPM_RC TPM2_NV_WriteLock(
+ NV_WriteLock_In *in // IN: input parameter list
+);
+
+#endif // __TPM2_NV_WRITELOCK_FP_H_