]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.c
SecurityPkg: Clean up source files
[mirror_edk2.git] / SecurityPkg / Tcg / PhysicalPresencePei / PhysicalPresencePei.c
index e694db8cf196c46a85778d15d934133401a74ea4..5117c7441124d3716e5fa46dd29e8984edc6e2dd 100644 (file)
@@ -1,15 +1,15 @@
 /** @file\r
-  This driver produces PEI_LOCK_PHYSICAL_PRESENCE_PPI to indicate \r
-  whether TPM need be locked or not. It can be replaced by a platform \r
+  This driver produces PEI_LOCK_PHYSICAL_PRESENCE_PPI to indicate\r
+  whether TPM need be locked or not. It can be replaced by a platform\r
   specific driver.\r
 \r
-Copyright (c) 2005 - 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
+Copyright (c) 2005 - 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
@@ -70,18 +70,18 @@ LockTpmPhysicalPresence (
   EFI_PHYSICAL_PRESENCE              TcgPpData;\r
 \r
   //\r
-  // The CRTM has sensed the physical presence assertion of the user. For example, \r
-  // the user has pressed the startup button or inserted a USB dongle. The details \r
+  // The CRTM has sensed the physical presence assertion of the user. For example,\r
+  // the user has pressed the startup button or inserted a USB dongle. The details\r
   // of the implementation are vendor-specific. Here we read a PCD value to indicate\r
   // whether operator physical presence.\r
-  // \r
+  //\r
   if (!PcdGetBool (PcdTpmPhysicalPresence)) {\r
     return TRUE;\r
   }\r
 \r
   //\r
-  // Check the pending TPM requests. Lock TPM physical presence if there is no TPM \r
-  // request.  \r
+  // Check the pending TPM requests. Lock TPM physical presence if there is no TPM\r
+  // request.\r
   //\r
   Status = PeiServicesLocatePpi (\r
              &gEfiPeiReadOnlyVariable2PpiGuid,\r
@@ -91,8 +91,8 @@ LockTpmPhysicalPresence (
              );\r
   if (!EFI_ERROR (Status)) {\r
     DataSize = sizeof (EFI_PHYSICAL_PRESENCE);\r
-    Status = Variable->GetVariable ( \r
-                         Variable, \r
+    Status = Variable->GetVariable (\r
+                         Variable,\r
                          PHYSICAL_PRESENCE_VARIABLE,\r
                          &gEfiPhysicalPresenceGuid,\r
                          NULL,\r
@@ -115,7 +115,7 @@ LockTpmPhysicalPresence (
 /**\r
   Entry point of this module.\r
 \r
-  It installs lock physical presence PPI. \r
+  It installs lock physical presence PPI.\r
 \r
   @param[in] FileHandle   Handle of the file being invoked.\r
   @param[in] PeiServices  Describes the list of possible PEI Services.\r