]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c
PcAtChipsetPkg: Clean up source files
[mirror_edk2.git] / PcAtChipsetPkg / Library / SerialIoLib / SerialPortLib.c
index 0a2e20c1d932c0e816621526b5de4443e9668575..d1a1c6a03facad09e781b5605e22a24e5f51c618 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   UART Serial Port library functions\r
 \r
-  Copyright (c) 2006 - 2017, 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
@@ -58,11 +58,11 @@ UINT8   gBreakSet = 0;
 \r
 /**\r
   Initialize the serial device hardware.\r
-  \r
+\r
   If no initialization is required, then return RETURN_SUCCESS.\r
   If the serial device was successfully initialized, then return RETURN_SUCCESS.\r
   If the serial device could not be initialized, then return RETURN_DEVICE_ERROR.\r
-  \r
+\r
   @retval RETURN_SUCCESS        The serial device was initialized.\r
   @retval RETURN_DEVICE_ERROR   The serail device could not be initialized.\r
 \r
@@ -86,7 +86,7 @@ SerialPortInitialize (
   // Calculate divisor for baud generator\r
   //\r
   Divisor = 115200 / gBps;\r
-  \r
+\r
   //\r
   // Set communications format\r
   //\r
@@ -109,13 +109,13 @@ SerialPortInitialize (
 }\r
 \r
 /**\r
-  Write data from buffer to serial device. \r
\r
-  Writes NumberOfBytes data bytes from Buffer to the serial device.  \r
+  Write data from buffer to serial device.\r
+\r
+  Writes NumberOfBytes data bytes from Buffer to the serial device.\r
   The number of bytes actually written to the serial device is returned.\r
   If the return value is less than NumberOfBytes, then the write operation failed.\r
 \r
-  If Buffer is NULL, then ASSERT(). \r
+  If Buffer is NULL, then ASSERT().\r
 \r
   If NumberOfBytes is zero, then return 0.\r
 \r
@@ -123,7 +123,7 @@ SerialPortInitialize (
   @param  NumberOfBytes    Number of bytes to written to the serial device.\r
 \r
   @retval 0                NumberOfBytes is 0.\r
-  @retval >0               The number of bytes written to the serial device.  \r
+  @retval >0               The number of bytes written to the serial device.\r
                            If this value is less than NumberOfBytes, then the write operation failed.\r
 \r
 **/\r
@@ -164,7 +164,7 @@ SerialPortWrite (
   @param  NumberOfBytes    Number of bytes to read from the serial device.\r
 \r
   @retval 0                NumberOfBytes is 0.\r
-  @retval >0               The number of bytes read from the serial device.  \r
+  @retval >0               The number of bytes read from the serial device.\r
                            If this value is less than NumberOfBytes, then the read operation failed.\r
 \r
 **/\r