]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Misc/DebugImageInfo.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Misc / DebugImageInfo.c
index fda6d44043d3e044701f224ff5943b2643359e12..4a9217fa76dc9ae08a3671883ab8739a2cb8d80f 100644 (file)
@@ -2,7 +2,7 @@
   Support functions for managing debug image info table when loading and unloading\r
   images.\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
@@ -65,9 +65,9 @@ CoreInitializeDebugImageInfoTable (
     Memory = MAX_ADDRESS;\r
   }\r
   Status = CoreAllocatePages (\r
-             AllocateMaxAddress, \r
+             AllocateMaxAddress,\r
              EfiBootServicesData,\r
-             RealPages, \r
+             RealPages,\r
              &Memory\r
              );\r
   if (EFI_ERROR (Status)) {\r
@@ -80,16 +80,16 @@ CoreInitializeDebugImageInfoTable (
     // as close to the top of memory as feasible.\r
     //\r
     Status = CoreAllocatePages (\r
-               AllocateAnyPages, \r
+               AllocateAnyPages,\r
                EfiBootServicesData,\r
-               RealPages, \r
+               RealPages,\r
                &Memory\r
                );\r
     ASSERT_EFI_ERROR (Status);\r
     if (EFI_ERROR (Status)) {\r
       return;\r
     }\r
-  }  \r
+  }\r
 \r
   //\r
   // Free overallocated pages\r
@@ -121,13 +121,13 @@ CoreInitializeDebugImageInfoTable (
 \r
   //\r
   // Initialize EFI_SYSTEM_TABLE_POINTER structure\r
-  //  \r
+  //\r
   mDebugTable->Signature          = EFI_SYSTEM_TABLE_SIGNATURE;\r
   mDebugTable->EfiSystemTableBase = (EFI_PHYSICAL_ADDRESS) (UINTN) gDxeCoreST;\r
   mDebugTable->Crc32              = 0;\r
-  \r
+\r
   //\r
-  // Install the EFI_SYSTEM_TABLE_POINTER structure in the EFI System \r
+  // Install the EFI_SYSTEM_TABLE_POINTER structure in the EFI System\r
   // Configuration Table\r
   //\r
   Status = CoreInstallConfigurationTable (&gEfiDebugImageInfoTableGuid, &mDebugInfoTableHeader);\r
@@ -182,7 +182,7 @@ CoreNewDebugImageInfoEntry (
   mDebugInfoTableHeader.UpdateStatus |= EFI_DEBUG_IMAGE_INFO_UPDATE_IN_PROGRESS;\r
 \r
   Table = mDebugInfoTableHeader.EfiDebugImageInfoTable;\r
-  \r
+\r
   if (mDebugInfoTableHeader.TableSize < mMaxTableEntries) {\r
     //\r
     // We still have empty entires in the Table, find the first empty entry.\r