]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLib.c
SourceLevelDebugPkg: Clean up source files
[mirror_edk2.git] / SourceLevelDebugPkg / Library / PeCoffExtraActionLibDebug / PeCoffExtraActionLib.c
index 87420709f6c31f98c1d2d2bda669b5bbb6788e00..feecf410c849e80ef9b4782b05ca8927bbf4f590 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   PE/Coff Extra Action library instances.\r
 \r
-  Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2010 - 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
@@ -16,7 +16,7 @@
 \r
 /**\r
   Check if the hardware breakpoint in Drx is enabled by checking the Lx and Gx bit in Dr7.\r
-  \r
+\r
   It assumes that DebugAgent will set both Lx and Gx bit when setting up the hardware breakpoint.\r
 \r
 \r
@@ -40,7 +40,7 @@ IsDrxEnabled (
   Common routine to report the PE/COFF image loading/relocating or unloading event.\r
 \r
   If ImageContext is NULL, then ASSERT().\r
-  \r
+\r
   @param  ImageContext  Pointer to the image context structure that describes the\r
                         PE/COFF image.\r
   @param  Signature     IMAGE_LOAD_SIGNATURE or IMAGE_UNLOAD_SIGNATURE.\r
@@ -83,7 +83,7 @@ PeCoffLoaderExtraActionCommon (
   if (LoadImageMethod == DEBUG_LOAD_IMAGE_METHOD_IO_HW_BREAKPOINT) {\r
     //\r
     // If the CPU does not support Debug Extensions(CPUID:01 EDX:BIT2)\r
-    // then force use of DEBUG_LOAD_IMAGE_METHOD_SOFT_INT3 \r
+    // then force use of DEBUG_LOAD_IMAGE_METHOD_SOFT_INT3\r
     //\r
     AsmCpuid (1, NULL, NULL, NULL, &RegEdx);\r
     if ((RegEdx & BIT2) == 0) {\r
@@ -107,7 +107,7 @@ PeCoffLoaderExtraActionCommon (
       IdtEntryHooked = TRUE;\r
     }\r
   }\r
-  \r
+\r
   //\r
   // Save Debug Register State\r
   //\r
@@ -152,7 +152,7 @@ PeCoffLoaderExtraActionCommon (
 \r
   //\r
   // Restore Debug Register State only when Host didn't change it inside exception handler.\r
-  // E.g.: User halts the target and sets the HW breakpoint while target is \r
+  // E.g.: User halts the target and sets the HW breakpoint while target is\r
   //       in the above exception handler\r
   //\r
   NewDr7 = AsmReadDr7 () | BIT10; // H/w sets bit 10, some simulators don't\r