]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BeagleBoardPkg/Library/GdbSerialLib/GdbSerialLib.c
ARM Packages: Removed trailing spaces
[mirror_edk2.git] / BeagleBoardPkg / Library / GdbSerialLib / GdbSerialLib.c
index 7634ee174cfed45446fe6512f3d55ee19a3bceae..82a2957dc97e44931996fa18cf86aca1db2ed89e 100644 (file)
@@ -2,7 +2,7 @@
   Basic serial IO abstaction for GDB\r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-  \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
@@ -34,10 +34,10 @@ GdbSerialLibConstructor (
 RETURN_STATUS\r
 EFIAPI\r
 GdbSerialInit (\r
-  IN UINT64     BaudRate, \r
-  IN UINT8      Parity, \r
-  IN UINT8      DataBits, \r
-  IN UINT8      StopBits \r
+  IN UINT64     BaudRate,\r
+  IN UINT8      Parity,\r
+  IN UINT8      DataBits,\r
+  IN UINT8      StopBits\r
   )\r
 {\r
   return RETURN_SUCCESS;\r
@@ -47,7 +47,7 @@ BOOLEAN
 EFIAPI\r
 GdbIsCharAvailable (\r
   VOID\r
-  )  \r
+  )\r
 {\r
   UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG;\r
 \r
@@ -67,7 +67,7 @@ GdbGetChar (
   UINT32  LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG;\r
   UINT32  RBR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_RBR_REG;\r
   CHAR8   Char;\r
-    \r
+\r
   while ((MmioRead8(LSR) & UART_LSR_RX_FIFO_E_MASK) == UART_LSR_RX_FIFO_E_EMPTY);\r
   Char = MmioRead8(RBR);\r
 \r
@@ -82,7 +82,7 @@ GdbPutChar (
 {\r
   UINT32  LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG;\r
   UINT32  THR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_THR_REG;\r
-    \r
+\r
   while ((MmioRead8(LSR) & UART_LSR_TX_FIFO_E_MASK) == UART_LSR_TX_FIFO_E_NOT_EMPTY);\r
   MmioWrite8(THR, Char);\r
 }\r