]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Include/Guid/PhysicalPresenceData.h
SecurityPkg: Clean up source files
[mirror_edk2.git] / SecurityPkg / Include / Guid / PhysicalPresenceData.h
index 942865784c1b14de601adc9a0ad524efbf7d5ab3..3190da3982e52d23493b93d6cd2ec96a3eb26c7f 100644 (file)
@@ -1,16 +1,16 @@
 /** @file\r
   Define the variable data structures used for TCG physical presence.\r
   The TPM request from firmware or OS is saved to variable. And it is\r
-  cleared after it is processed in the next boot cycle. The TPM response \r
+  cleared after it is processed in the next boot cycle. The TPM response\r
   is saved to variable.\r
 \r
-Copyright (c) 2006 - 2013, 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
+Copyright (c) 2006 - 2018, 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
+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
@@ -38,7 +38,7 @@ typedef struct {
 #define PHYSICAL_PRESENCE_ENABLE                                  1\r
 #define PHYSICAL_PRESENCE_DISABLE                                 2\r
 #define PHYSICAL_PRESENCE_ACTIVATE                                3\r
-#define PHYSICAL_PRESENCE_DEACTIVATE                              4 \r
+#define PHYSICAL_PRESENCE_DEACTIVATE                              4\r
 #define PHYSICAL_PRESENCE_CLEAR                                   5\r
 #define PHYSICAL_PRESENCE_ENABLE_ACTIVATE                         6\r
 #define PHYSICAL_PRESENCE_DEACTIVATE_DISABLE                      7\r
@@ -60,9 +60,12 @@ typedef struct {
 \r
 //\r
 // This variable is used to save TPM Management Flags and corresponding operations.\r
-// It should be protected from malicious software (e.g. Set it as read-only variable). \r
+// It should be protected from malicious software (e.g. Set it as read-only variable).\r
 //\r
 #define PHYSICAL_PRESENCE_FLAGS_VARIABLE  L"PhysicalPresenceFlags"\r
+typedef struct {\r
+  UINT8   PPFlags;\r
+} EFI_PHYSICAL_PRESENCE_FLAGS;\r
 \r
 //\r
 // The definition bit of the TPM Management Flags\r