]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/TcgConfigDxe/TcgConfigNvData.h
Add security package to repository.
[mirror_edk2.git] / SecurityPkg / Tcg / TcgConfigDxe / TcgConfigNvData.h
diff --git a/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigNvData.h b/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigNvData.h
new file mode 100644 (file)
index 0000000..982764c
--- /dev/null
@@ -0,0 +1,48 @@
+/** @file\r
+  Header file for NV data structure definition.\r
+\r
+Copyright (c) 2011, 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_CONFIG_NV_DATA_H__\r
+#define __TCG_CONFIG_NV_DATA_H__\r
+\r
+#include <Guid/HiiPlatformSetupFormset.h>\r
+#include <Guid/PhysicalPresenceData.h>\r
+\r
+#define TCG_CONFIG_PRIVATE_GUID \\r
+  { \\r
+    0xb0f901e4, 0xc424, 0x45de, {0x90, 0x81, 0x95, 0xe2, 0xb, 0xde, 0x6f, 0xb5 } \\r
+  }\r
+\r
+#define TCG_CONFIGURATION_VARSTORE_ID  0x0001\r
+#define TCG_CONFIGURATION_FORM_ID      0x0001\r
+\r
+#define KEY_HIDE_TPM                   0x2000\r
+#define KEY_TPM_ACTION                 0x3000\r
+#define KEY_TPM_MOR_ENABLE             0x4000\r
+\r
+#define LABEL_TCG_CONFIGURATION_HIDETPM  0x0001\r
+#define LABEL_END                        0xffff\r
+\r
+//\r
+// Nv Data structure referenced by IFR\r
+//\r
+typedef struct {\r
+  BOOLEAN HideTpm;\r
+  BOOLEAN OriginalHideTpm;\r
+  BOOLEAN MorState;\r
+  UINT8   TpmOperation;\r
+  BOOLEAN TpmEnable;\r
+  BOOLEAN TpmActivate;\r
+} TCG_CONFIGURATION;\r
+\r
+#endif\r