]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/PciSioSerialDxe/SerialIo.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / PciSioSerialDxe / SerialIo.c
index c0682e93b6668e00d1458a2c7970757b72b75206..31d5ab42ecfa36ac3bd7954a8a6b567d1d47b73f 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   SerialIo implementation for PCI or SIO UARTs.\r
 \r
-Copyright (c) 2006 - 2016, 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
@@ -92,7 +92,7 @@ VerifyUartParameters (
       ((DataBits >= 6) && (DataBits <= 8) && (StopBits == OneFiveStopBits))\r
       ) {\r
     return FALSE;\r
-  } \r
+  }\r
 \r
   //\r
   // Do not verify the baud rate if clock rate is unknown (0).\r
@@ -169,8 +169,8 @@ VerifyUartParameters (
   }\r
 \r
   //\r
-  // ActualBaudRate is higher than requested baud rate and more than 4% \r
-  // higher than the requested value.  Increment Divisor if it is less \r
+  // ActualBaudRate is higher than requested baud rate and more than 4%\r
+  // higher than the requested value.  Increment Divisor if it is less\r
   // than MAX_UINT16 and computed baud rate with new divisor.\r
   //\r
   if (ComputedDivisor == MAX_UINT16) {\r
@@ -212,7 +212,7 @@ SerialFifoFull (
 \r
 /**\r
   Detect whether specific FIFO is empty or not.\r
\r
+\r
   @param  Fifo    A pointer to the Data Structure SERIAL_DEV_FIFO\r
 \r
   @return whether specific FIFO is empty or not\r
@@ -363,7 +363,7 @@ SerialReceiveTransmit (
           Data = READ_RBR (SerialDevice);\r
 \r
           SerialFifoAdd (&SerialDevice->Receive, Data);\r
-          \r
+\r
           //\r
           // For full handshake flow control, if receive buffer full\r
           // tell the peer to stop sending data.\r
@@ -1065,7 +1065,7 @@ SerialWrite (
                 NULL\r
                 )\r
               );\r
-  \r
+\r
   for (Index = 0; Index < *BufferSize; Index++) {\r
     SerialFifoAdd (&SerialDevice->Transmit, CharBuffer[Index]);\r
 \r