]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Dispatcher / Dispatcher.c
index 4c6ca761a6054b7b2605ffd1a4e7ddb7c61accab..f72c47a9e54ccb6d5f2a35d32305d56ddcf16453 100644 (file)
@@ -26,7 +26,7 @@
   Depex - Dependency Expresion.\r
   SOR   - Schedule On Request - Don't schedule if this bit is set.\r
 \r
-Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\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
@@ -335,13 +335,13 @@ CoreSchedule (
       CoreReleaseDispatcherLock ();\r
 \r
       DEBUG ((DEBUG_DISPATCH, "Schedule FFS(%g) - EFI_SUCCESS\n", DriverName));\r
-      \r
+\r
       return EFI_SUCCESS;\r
     }\r
   }\r
-  \r
+\r
   DEBUG ((DEBUG_DISPATCH, "Schedule FFS(%g) - EFI_NOT_FOUND\n", DriverName));\r
-  \r
+\r
   return EFI_NOT_FOUND;\r
 }\r
 \r
@@ -418,7 +418,7 @@ CoreDispatcher (
   EFI_CORE_DRIVER_ENTRY           *DriverEntry;\r
   BOOLEAN                         ReadyToRun;\r
   EFI_EVENT                       DxeDispatchEvent;\r
-  \r
+\r
   PERF_FUNCTION_BEGIN ();\r
 \r
   if (gDispatcherRunning) {\r
@@ -512,10 +512,10 @@ CoreDispatcher (
 \r
       CoreReleaseDispatcherLock ();\r
 \r
\r
+\r
       if (DriverEntry->IsFvImage) {\r
         //\r
-        // Produce a firmware volume block protocol for FvImage so it gets dispatched from. \r
+        // Produce a firmware volume block protocol for FvImage so it gets dispatched from.\r
         //\r
         Status = CoreProcessFvImageFile (DriverEntry->Fv, DriverEntry->FvHandle, &DriverEntry->FileName);\r
       } else {\r
@@ -526,9 +526,9 @@ CoreDispatcher (
           sizeof (DriverEntry->ImageHandle)\r
           );\r
         ASSERT (DriverEntry->ImageHandle != NULL);\r
-  \r
+\r
         Status = CoreStartImage (DriverEntry->ImageHandle, NULL, NULL);\r
-  \r
+\r
         REPORT_STATUS_CODE_WITH_EXTENDED_DATA (\r
           EFI_PROGRESS_CODE,\r
           (EFI_SOFTWARE_DXE_CORE | EFI_SW_PC_INIT_END),\r
@@ -692,17 +692,17 @@ FvHasBeenProcessed (
 \r
 /**\r
   Remember that Fv protocol on FvHandle has had it's drivers placed on the\r
-  mDiscoveredList. This fucntion adds entries on the mFvHandleList if new \r
+  mDiscoveredList. This fucntion adds entries on the mFvHandleList if new\r
   entry is different from one in mFvHandleList by checking FvImage Guid.\r
   Items are never removed/freed from the mFvHandleList.\r
 \r
   @param  FvHandle              The handle of a FV that has been processed\r
 \r
   @return A point to new added FvHandle entry. If FvHandle with the same FvImage guid\r
-          has been added, NULL will return. \r
+          has been added, NULL will return.\r
 \r
 **/\r
-KNOWN_HANDLE * \r
+KNOWN_HANDLE *\r
 FvIsBeingProcesssed (\r
   IN  EFI_HANDLE    FvHandle\r
   )\r
@@ -1247,7 +1247,7 @@ CoreFwVolEventProtocolNotify (
     KnownHandle = FvIsBeingProcesssed (FvHandle);\r
     if (KnownHandle == NULL) {\r
       //\r
-      // The FV with the same FV name guid has already been processed. \r
+      // The FV with the same FV name guid has already been processed.\r
       // So lets skip it!\r
       //\r
       continue;\r
@@ -1337,7 +1337,7 @@ CoreFwVolEventProtocolNotify (
             if (!EFI_ERROR (Status)) {\r
               //\r
               // If SMM depex section is found, this FV image is invalid to be supported.\r
-              // ASSERT FALSE to report this FV image.  \r
+              // ASSERT FALSE to report this FV image.\r
               //\r
               FreePool (DepexBuffer);\r
               ASSERT (FALSE);\r
@@ -1359,7 +1359,7 @@ CoreFwVolEventProtocolNotify (
                            );\r
             if (EFI_ERROR (Status)) {\r
               //\r
-              // If no depex section, produce a firmware volume block protocol for it so it gets dispatched from. \r
+              // If no depex section, produce a firmware volume block protocol for it so it gets dispatched from.\r
               //\r
               CoreProcessFvImageFile (Fv, FvHandle, &NameGuid);\r
             } else {\r