]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/UserIdentification/UserIdentifyManagerDxe/LoadDeferredImage.c
SecurityPkg: Clean up source files
[mirror_edk2.git] / SecurityPkg / UserIdentification / UserIdentifyManagerDxe / LoadDeferredImage.c
index da1201a5f9203e65982b82a5c8a93d7a69c11234..2cfe130db8ede201450015e06996b64fd0f92b65 100644 (file)
@@ -1,13 +1,13 @@
 /** @file\r
   Load the deferred images after user is identified.\r
-    \r
-Copyright (c) 2009 - 2010, 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
+\r
+Copyright (c) 2009 - 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
@@ -39,7 +39,7 @@ LoadDeferredImage (
   UINTN                              DriverIndex;\r
   EFI_DEVICE_PATH_PROTOCOL           *ImageDevicePath;\r
   VOID                               *DriverImage;\r
-  UINTN                              ImageSize; \r
+  UINTN                              ImageSize;\r
   BOOLEAN                            BootOption;\r
   EFI_HANDLE                         ImageHandle;\r
   UINTN                              ExitDataSize;\r
@@ -77,16 +77,16 @@ LoadDeferredImage (
       // Load all the deferred images in this protocol instance.\r
       //\r
       Status = DeferredImage->GetImageInfo(\r
-                                DeferredImage, \r
-                                DriverIndex, \r
-                                &ImageDevicePath, \r
+                                DeferredImage,\r
+                                DriverIndex,\r
+                                &ImageDevicePath,\r
                                 (VOID **) &DriverImage,\r
-                                &ImageSize, \r
+                                &ImageSize,\r
                                 &BootOption\r
                                 );\r
       if (EFI_ERROR (Status)) {\r
         break;\r
-      } \r
+      }\r
 \r
       //\r
       // Load and start the image.\r
@@ -106,7 +106,7 @@ LoadDeferredImage (
         //\r
         gBS->SetWatchdogTimer (5 * 60, 0x0000, 0x00, NULL);\r
         Status = gBS->StartImage (ImageHandle, &ExitDataSize, &ExitData);\r
-    \r
+\r
         //\r
         // Clear the Watchdog Timer after the image returns.\r
         //\r
@@ -115,7 +115,7 @@ LoadDeferredImage (
       DriverIndex++;\r
     } while (TRUE);\r
   }\r
-  FreePool (HandleBuf); \r
+  FreePool (HandleBuf);\r
 }\r
 \r
 \r
@@ -134,7 +134,7 @@ LoadDeferredImageInit (
   EFI_EVENT     Event;\r
 \r
   mDeferredImageHandle = ImageHandle;\r
-  \r
+\r
   Status = gBS->CreateEventEx (\r
                   EVT_NOTIFY_SIGNAL,\r
                   TPL_CALLBACK,\r