]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.c
EmulatorPkg: Remove all trailing whitespace
[mirror_edk2.git] / EmulatorPkg / Library / PeiEmuSerialPortLib / PeiEmuSerialPortLib.c
index aa4e80cf01baf892aee9093b2b5aaca67791adbb..4ff7144218ea2965fd8f8726a2448f3b92c15f8f 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
-  Serial Port Lib that thunks back to Emulator services to write to StdErr. \r
-  All read functions are stubed out. There is no constructor so this lib can \r
+  Serial Port Lib that thunks back to Emulator services to write to StdErr.\r
+  All read functions are stubed out. There is no constructor so this lib can\r
   be linked with PEI Core.\r
 \r
   Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
 \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 serial device could not be initialized.\r
 \r
@@ -46,19 +46,19 @@ 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
-  If Buffer is NULL, then ASSERT(). \r
+  If Buffer is NULL, then ASSERT().\r
   If NumberOfBytes is zero, then return 0.\r
 \r
   @param  Buffer           The pointer to the data buffer to be written.\r
   @param  NumberOfBytes    The 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 read operation failed.\r
 \r
 **/\r
@@ -86,18 +86,18 @@ SerialPortWrite (
     Thunk  = (EMU_THUNK_PROTOCOL *)ThunkPpi->Thunk ();\r
     return Thunk->WriteStdErr (Buffer, NumberOfBytes);\r
   }\r
-  \r
+\r
   return 0;\r
 }\r
 \r
 \r
 /**\r
   Read data from serial device and save the datas in buffer.\r
\r
+\r
   Reads NumberOfBytes data bytes from a serial device into the buffer\r
-  specified by Buffer. The number of bytes actually read is returned. \r
+  specified by Buffer. The number of bytes actually read is returned.\r
   If the return value is less than NumberOfBytes, then the rest operation failed.\r
-  If Buffer is NULL, then ASSERT(). \r
+  If Buffer is NULL, then ASSERT().\r
   If NumberOfBytes is zero, then return 0.\r
 \r
   @param  Buffer           The pointer to the data buffer to store the data read from the serial device.\r