]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Misc/DebugImageInfo.c
Code Scrub for Dxe Core.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Misc / DebugImageInfo.c
index 80d302659ddab3f6e4a56f64a80c1cd42de9d6da..aafa193301fd3303bb170af383e0ab74ee3649ac 100644 (file)
@@ -24,7 +24,7 @@ EFI_DEBUG_IMAGE_INFO_TABLE_HEADER  mDebugInfoTableHeader = {
 \r
 EFI_SYSTEM_TABLE_POINTER *mDebugTable = NULL;\r
 \r
-    \r
+\r
 \r
 /**\r
   Creates and initializes the DebugImageInfo Table.  Also creates the configuration\r
@@ -41,10 +41,10 @@ VOID
 CoreInitializeDebugImageInfoTable (\r
   VOID\r
   )\r
-{ \r
+{\r
   EFI_STATUS                          Status;\r
   EFI_PHYSICAL_ADDRESS                Mem;\r
-  UINTN                               NumberOfPages; \r
+  UINTN                               NumberOfPages;\r
 \r
   //\r
   // Allocate boot services memory for the structure. It's required to be aligned on\r
@@ -52,14 +52,14 @@ CoreInitializeDebugImageInfoTable (
   // a 4M aligned address within the memory we just freed, and then allocate memory at that\r
   // address for our initial structure.\r
   //\r
-  NumberOfPages = FOUR_MEG_PAGES + EFI_SIZE_TO_PAGES(sizeof (EFI_SYSTEM_TABLE_POINTER));  \r
+  NumberOfPages = FOUR_MEG_PAGES + EFI_SIZE_TO_PAGES(sizeof (EFI_SYSTEM_TABLE_POINTER));\r
 \r
-  Status = CoreAllocatePages (AllocateAnyPages, EfiBootServicesData, NumberOfPages , &Mem); \r
+  Status = CoreAllocatePages (AllocateAnyPages, EfiBootServicesData, NumberOfPages , &Mem);\r
   ASSERT_EFI_ERROR (Status);\r
   if (EFI_ERROR(Status)) {\r
     return;\r
   }\r
-  Status = CoreFreePages (Mem, NumberOfPages); \r
+  Status = CoreFreePages (Mem, NumberOfPages);\r
   ASSERT_EFI_ERROR (Status);\r
   if (EFI_ERROR(Status)) {\r
     return;\r
@@ -69,8 +69,8 @@ CoreInitializeDebugImageInfoTable (
   // Then allocate memory at that address\r
   //\r
   Mem = (Mem + FOUR_MEG_MASK) & (~FOUR_MEG_MASK);\r
-  \r
-  Status = CoreAllocatePages (AllocateAddress, EfiBootServicesData, NumberOfPages - FOUR_MEG_PAGES, &Mem); \r
+\r
+  Status = CoreAllocatePages (AllocateAddress, EfiBootServicesData, NumberOfPages - FOUR_MEG_PAGES, &Mem);\r
   ASSERT_EFI_ERROR (Status);\r
   if (EFI_ERROR(Status)) {\r
     return;\r
@@ -112,9 +112,9 @@ CoreUpdateDebugTableCrc32 (
   Adds a new DebugImageInfo structure to the DebugImageInfo Table.  Re-Allocates\r
   the table if it's not large enough to accomidate another entry.\r
 \r
-  @param  ImageInfoType  type of debug image information \r
-  @param  LoadedImage    pointer to the loaded image protocol for the image being \r
-                         loaded \r
+  @param  ImageInfoType  type of debug image information\r
+  @param  LoadedImage    pointer to the loaded image protocol for the image being\r
+                         loaded\r
   @param  ImageHandle    image handle for the image being loaded\r
 \r
 **/\r
@@ -124,7 +124,7 @@ CoreNewDebugImageInfoEntry (
   IN  EFI_LOADED_IMAGE_PROTOCOL   *LoadedImage,\r
   IN  EFI_HANDLE                  ImageHandle\r
   )\r
-{    \r
+{\r
   EFI_DEBUG_IMAGE_INFO      *Table;\r
   EFI_DEBUG_IMAGE_INFO      *NewTable;\r
   UINTN                     Index;\r
@@ -199,7 +199,7 @@ VOID
 CoreRemoveDebugImageInfoEntry (\r
   EFI_HANDLE ImageHandle\r
   )\r
-{    \r
+{\r
   EFI_DEBUG_IMAGE_INFO  *Table;\r
   UINTN                 Index;\r
 \r