]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.c
ARM Packages: Removed trailing spaces
[mirror_edk2.git] / ArmPlatformPkg / Library / EblCmdLib / EblCmdLib.c
index 9319050b0647f6ec22773908d4b45a6cea2719e5..899991062fc90518862ebbe191cd0acb00e44784 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
 *\r
 *  Copyright (c) 2011-2013, ARM Limited. All rights reserved.\r
-*  \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
-*  http://opensource.org/licenses/bsd-license.php                                            \r
 *\r
-*  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-*  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \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
+*  http://opensource.org/licenses/bsd-license.php\r
+*\r
+*  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+*  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 *\r
 **/\r
 \r
@@ -42,7 +42,7 @@ EblDumpMmu (
   IN UINTN  Argc,\r
   IN CHAR8  **Argv\r
   );\r
-  \r
+\r
 EFI_STATUS\r
 EblDumpFdt (\r
   IN UINTN  Argc,\r
@@ -53,11 +53,11 @@ EblDumpFdt (
   Simple arm disassembler via a library\r
 \r
   Argv[0] - symboltable\r
-  Argv[1] - Optional qoted format string \r
+  Argv[1] - Optional qoted format string\r
   Argv[2] - Optional flag\r
 \r
   @param  Argc   Number of command arguments in Argv\r
-  @param  Argv   Array of strings that represent the parsed command line. \r
+  @param  Argv   Array of strings that represent the parsed command line.\r
                  Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
@@ -78,7 +78,7 @@ EblSymbolTable (
   UINT32                            PeCoffSizeOfHeaders;\r
   UINT32                            ImageBase;\r
   BOOLEAN                           Elf;\r
-  \r
+\r
   // Need to add lots of error checking on the passed in string\r
   // Default string is for RealView debugger\r
 #if (__ARMCC_VERSION < 500000)\r
@@ -87,12 +87,12 @@ EblSymbolTable (
   Format = (Argc > 1) ? Argv[1] : "add-symbol-file %a 0x%x";\r
 #endif\r
   Elf = (Argc > 2) ? FALSE : TRUE;\r
-  \r
+\r
   Status = EfiGetSystemConfigurationTable (&gEfiDebugImageInfoTableGuid, (VOID **)&DebugImageTableHeader);\r
   if (EFI_ERROR (Status)) {\r
     return Status;\r
   }\r
-  \r
+\r
   DebugTable = DebugImageTableHeader->EfiDebugImageInfoTable;\r
   if (DebugTable == NULL) {\r
     return EFI_SUCCESS;\r
@@ -108,13 +108,13 @@ EblSymbolTable (
           if (Elf) {\r
             // ELF and Mach-O images don't include the header so the linked address does not include header\r
             ImageBase += PeCoffSizeOfHeaders;\r
-          } \r
+          }\r
           AsciiPrint (Format, Pdb, ImageBase);\r
           AsciiPrint ("\n");\r
         } else {\r
         }\r
       }\r
-    }  \r
+    }\r
   }\r
 \r
   return EFI_SUCCESS;\r
@@ -129,7 +129,7 @@ EblSymbolTable (
   ARgv[2] - Number of instructions to disassembly (optional)\r
 \r
   @param  Argc   Number of command arguments in Argv\r
-  @param  Argv   Array of strings that represent the parsed command line. \r
+  @param  Argv   Array of strings that represent the parsed command line.\r
                  Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
@@ -146,22 +146,22 @@ EblDisassembler (
   UINT32  Count;\r
   CHAR8   Buffer[80];\r
   UINT32  ItBlock;\r
-  \r
+\r
   if (Argc < 2) {\r
     return EFI_INVALID_PARAMETER;\r
   }\r
-  \r
+\r
   Address = AsciiStrHexToUintn (Argv[1]);\r
   Count   = (Argc > 2) ? (UINT32)AsciiStrHexToUintn (Argv[2]) : 20;\r
 \r
-  Ptr = (UINT8 *)(UINTN)Address;  \r
+  Ptr = (UINT8 *)(UINTN)Address;\r
   ItBlock = 0;\r
   do {\r
     CurrentAddress = Ptr;\r
     DisassembleInstruction (&Ptr, TRUE, TRUE, &ItBlock, Buffer, sizeof (Buffer));\r
     AsciiPrint ("0x%08x: %a\n", CurrentAddress, Buffer);\r
   } while (Count-- > 0);\r
\r
+\r
 \r
   return EFI_SUCCESS;\r
 }\r
@@ -211,7 +211,7 @@ STATIC CHAR8 *mTokenList[] = {
   ARgv[2] - Number of instructions to disassembly (optional)\r
 \r
   @param  Argc   Number of command arguments in Argv\r
-  @param  Argv   Array of strings that represent the parsed command line. \r
+  @param  Argv   Array of strings that represent the parsed command line.\r
                  Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
@@ -270,7 +270,7 @@ EblPerformance (
           AsciiPrint ("%6a %6ld ms\n", Token, Milliseconds);\r
           break;\r
         }\r
-      }   \r
+      }\r
     }\r
   } while (Key != 0);\r
 \r