]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
Code Scrub for Dxe Core.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / DxeMain / DxeMain.c
index 5ca956e68a94c5c9ba38866e4d98da6929047f56..cdfeafe62770ebe8cf59b0e181fe42135890570c 100644 (file)
@@ -227,7 +227,7 @@ EFI_DECOMPRESS_PROTOCOL  gEfiDecompress = {
 /**\r
   Main entry point to DXE Core.\r
 \r
-  @param  HobStart               Pointer to the beginning of the HOB List from PEI. \r
+  @param  HobStart               Pointer to the beginning of the HOB List from PEI.\r
 \r
   @return This function should never return.\r
 \r
@@ -400,7 +400,7 @@ DxeMain (
   // Report Status code before transfer control to BDS\r
   //\r
   CoreReportProgressCode (FixedPcdGet32 (PcdStatusCodeValueDxeCoreHandoffToBds));\r
-  \r
+\r
   //\r
   // Display any drivers that were not dispatched because dependency expression\r
   // evaluated to false if this is a debug build\r
@@ -450,7 +450,7 @@ CoreEfiNotAvailableYetArg0 (
   Place holder function until all the Boot Services and Runtime Services are\r
   available.\r
 \r
-  @param  Arg1                   Undefined \r
+  @param  Arg1                   Undefined\r
 \r
   @return EFI_NOT_AVAILABLE_YET\r
 \r
@@ -474,8 +474,8 @@ CoreEfiNotAvailableYetArg1 (
 /**\r
   Place holder function until all the Boot Services and Runtime Services are available.\r
 \r
-  @param  Arg1                   Undefined \r
-  @param  Arg2                   Undefined \r
+  @param  Arg1                   Undefined\r
+  @param  Arg2                   Undefined\r
 \r
   @return EFI_NOT_AVAILABLE_YET\r
 \r
@@ -500,9 +500,9 @@ CoreEfiNotAvailableYetArg2 (
 /**\r
   Place holder function until all the Boot Services and Runtime Services are available.\r
 \r
-  @param  Arg1                   Undefined \r
-  @param  Arg2                   Undefined \r
-  @param  Arg3                   Undefined \r
+  @param  Arg1                   Undefined\r
+  @param  Arg2                   Undefined\r
+  @param  Arg3                   Undefined\r
 \r
   @return EFI_NOT_AVAILABLE_YET\r
 \r
@@ -528,10 +528,10 @@ CoreEfiNotAvailableYetArg3 (
 /**\r
   Place holder function until all the Boot Services and Runtime Services are available.\r
 \r
-  @param  Arg1                   Undefined \r
-  @param  Arg2                   Undefined \r
-  @param  Arg3                   Undefined \r
-  @param  Arg4                   Undefined \r
+  @param  Arg1                   Undefined\r
+  @param  Arg2                   Undefined\r
+  @param  Arg3                   Undefined\r
+  @param  Arg4                   Undefined\r
 \r
   @return EFI_NOT_AVAILABLE_YET\r
 \r
@@ -558,11 +558,11 @@ CoreEfiNotAvailableYetArg4 (
 /**\r
   Place holder function until all the Boot Services and Runtime Services are available.\r
 \r
-  @param  Arg1                   Undefined \r
-  @param  Arg2                   Undefined \r
-  @param  Arg3                   Undefined \r
-  @param  Arg4                   Undefined \r
-  @param  Arg5                   Undefined \r
+  @param  Arg1                   Undefined\r
+  @param  Arg2                   Undefined\r
+  @param  Arg3                   Undefined\r
+  @param  Arg4                   Undefined\r
+  @param  Arg5                   Undefined\r
 \r
   @return EFI_NOT_AVAILABLE_YET\r
 \r
@@ -591,11 +591,11 @@ CoreEfiNotAvailableYetArg5 (
 /**\r
   Searches for a Protocol Interface passed from PEI through a HOB.\r
 \r
-  @param  ProtocolGuid           The Protocol GUID to search for in the HOB List \r
-  @param  Interface              A pointer to the interface for the Protocol GUID \r
+  @param  ProtocolGuid           The Protocol GUID to search for in the HOB List\r
+  @param  Interface              A pointer to the interface for the Protocol GUID\r
 \r
-  @retval EFI_SUCCESS            The Protocol GUID was found and its interface is \r
-                                 returned in Interface \r
+  @retval EFI_SUCCESS            The Protocol GUID was found and its interface is\r
+                                 returned in Interface\r
   @retval EFI_NOT_FOUND          The Protocol GUID was not found in the HOB List\r
 \r
 **/\r
@@ -654,10 +654,10 @@ CalculateEfiHdrCrc (
 /**\r
   Terminates all boot services.\r
 \r
-  @param  ImageHandle            Handle that identifies the exiting image. \r
+  @param  ImageHandle            Handle that identifies the exiting image.\r
   @param  MapKey                 Key to the latest memory map.\r
 \r
-  @retval EFI_SUCCESS            Boot Services terminated \r
+  @retval EFI_SUCCESS            Boot Services terminated\r
   @retval EFI_INVALID_PARAMETER  MapKey is incorrect.\r
 \r
 **/\r
@@ -673,7 +673,7 @@ CoreExitBootServices (
   EFI_TCG_PLATFORM_PROTOCOL *TcgPlatformProtocol;\r
 \r
   //\r
-  // Measure invocation of ExitBootServices, \r
+  // Measure invocation of ExitBootServices,\r
   // which is defined by TCG_EFI_Platform_1_20_Final Specification\r
   //\r
   TcgPlatformProtocol = NULL;\r
@@ -759,7 +759,7 @@ CoreExitBootServices (
     StatusTemp = TcgPlatformProtocol->MeasureAction (EFI_EXIT_BOOT_SERVICES_SUCCEEDED);\r
     ASSERT_EFI_ERROR (StatusTemp);\r
   }\r
\r
+\r
   return Status;\r
 }\r
 \r
@@ -793,7 +793,7 @@ CoreExitBootServices (
                              buffer that is required to decompress the\r
                              compressed buffer specified by Source and\r
                              SourceSize.\r
-   \r
+\r
   @retval EFI_SUCCESS        The size of the uncompressed data was returned in\r
                              DestinationSize and the size of the scratch buffer\r
                              was returned in ScratchSize.\r
@@ -846,7 +846,7 @@ DxeMainUefiDecompressGetInfo (
                               the decompression.\r
   @param  ScratchSize         The size of scratch buffer. The size of the\r
                               scratch buffer needed is obtained from GetInfo().\r
-  \r
+\r
   @retval EFI_SUCCESS         Decompression completed successfully, and the\r
                               uncompressed buffer is returned in Destination.\r
   @retval EFI_INVALID_PARAMETER  The source buffer specified by Source and\r
@@ -869,11 +869,11 @@ DxeMainUefiDecompress (
   EFI_STATUS  Status;\r
   UINT32      TestDestinationSize;\r
   UINT32      TestScratchSize;\r
-  \r
+\r
   if (Source == NULL || Destination== NULL || Scratch == NULL) {\r
     return EFI_INVALID_PARAMETER;\r
   }\r
-  \r
+\r
   Status = UefiDecompressGetInfo (Source, SourceSize, &TestDestinationSize, &TestScratchSize);\r
   if (EFI_ERROR (Status)) {\r
     return Status;\r