summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Include
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2016-06-02 15:14:56 +0800
committerStar Zeng <star.zeng@intel.com>2016-11-21 15:37:53 +0800
commitd1947ce509d745f32db6b7fecc03dc9c778b9350 (patch)
tree1c12c3ba93161546dff05d76b56cd0cd68b3fb6c /SecurityPkg/Include
parent3cabe66b2065980d5084d5823404834e266efe66 (diff)
downloadedk2-d1947ce509d745f32db6b7fecc03dc9c778b9350.tar.gz
edk2-d1947ce509d745f32db6b7fecc03dc9c778b9350.tar.bz2
edk2-d1947ce509d745f32db6b7fecc03dc9c778b9350.zip
SecurityPkg: Add definition for Physical Presence storage flag.
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Chao Zhang <chao.b.zhang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'SecurityPkg/Include')
-rw-r--r--SecurityPkg/Include/Guid/TcgPhysicalPresenceStorageData.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/SecurityPkg/Include/Guid/TcgPhysicalPresenceStorageData.h b/SecurityPkg/Include/Guid/TcgPhysicalPresenceStorageData.h
new file mode 100644
index 0000000000..926f4bb862
--- /dev/null
+++ b/SecurityPkg/Include/Guid/TcgPhysicalPresenceStorageData.h
@@ -0,0 +1,35 @@
+/** @file
+ Define the variable data structures used for physical presence storage data.
+
+Copyright (c) 2016, Intel Corporation. All rights reserved. <BR>
+This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef __TCG_PHYSICAL_PRESENCE_STORAGE_DATA_GUID_H__
+#define __TCG_PHYSICAL_PRESENCE_STORAGE_DATA_GUID_H__
+
+#define EFI_TCG_PHYSICAL_PRESENCE_STORAGE_DATA_GUID \
+ { \
+ 0x2EBE3E34, 0xB3CD, 0x471A, { 0xBF, 0x87, 0xB3, 0xC6, 0x6E, 0xE0, 0x74, 0x9A} \
+ }
+
+//
+// This variable is used to save TCG2 Management Flags and corresponding operations.
+// It should be protected from malicious software (e.g. Set it as read-only variable).
+//
+#define TCG_PHYSICAL_PRESENCE_STORAGE_FLAGS_VARIABLE L"TcgPhysicalPresenceStorageFlags"
+typedef struct {
+ UINT32 PPFlags;
+} EFI_TCG_PHYSICAL_PRESENCE_STORAGE_FLAGS;
+
+extern EFI_GUID gEfiTcgPhysicalPresenceStorageGuid;
+
+#endif
+