]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SecurityPkg: Add definition for Physical Presence storage flag.
authorEric Dong <eric.dong@intel.com>
Thu, 2 Jun 2016 07:14:56 +0000 (15:14 +0800)
committerStar Zeng <star.zeng@intel.com>
Mon, 21 Nov 2016 07:37:53 +0000 (15:37 +0800)
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>
SecurityPkg/Include/Guid/TcgPhysicalPresenceStorageData.h [new file with mode: 0644]

diff --git a/SecurityPkg/Include/Guid/TcgPhysicalPresenceStorageData.h b/SecurityPkg/Include/Guid/TcgPhysicalPresenceStorageData.h
new file mode 100644 (file)
index 0000000..926f4bb
--- /dev/null
@@ -0,0 +1,35 @@
+/** @file\r
+  Define the variable data structures used for physical presence storage data.\r
+\r
+Copyright (c) 2016, Intel Corporation. All rights reserved. <BR>\r
+This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __TCG_PHYSICAL_PRESENCE_STORAGE_DATA_GUID_H__\r
+#define __TCG_PHYSICAL_PRESENCE_STORAGE_DATA_GUID_H__\r
+\r
+#define EFI_TCG_PHYSICAL_PRESENCE_STORAGE_DATA_GUID \\r
+  { \\r
+    0x2EBE3E34, 0xB3CD, 0x471A, { 0xBF, 0x87, 0xB3, 0xC6, 0x6E, 0xE0, 0x74, 0x9A} \\r
+  }\r
+\r
+//\r
+// This variable is used to save TCG2 Management Flags and corresponding operations.\r
+// It should be protected from malicious software (e.g. Set it as read-only variable). \r
+//\r
+#define TCG_PHYSICAL_PRESENCE_STORAGE_FLAGS_VARIABLE  L"TcgPhysicalPresenceStorageFlags"\r
+typedef struct {\r
+  UINT32  PPFlags;\r
+} EFI_TCG_PHYSICAL_PRESENCE_STORAGE_FLAGS;\r
+\r
+extern EFI_GUID  gEfiTcgPhysicalPresenceStorageGuid;\r
+\r
+#endif\r
+\r