/** @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
#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
\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