]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Include/Library/SerialPortLib.h
Updated the default to parallel build. Even on a single core build is faster with...
[mirror_edk2.git] / EdkModulePkg / Include / Library / SerialPortLib.h
index 8fe04e9a7dda8f147b5b3a9deef6ae356b3641f0..153e38cd15fce91ca0c0cc6d608ec23686eea1e1 100644 (file)
@@ -22,6 +22,8 @@
 \r
   Programmed hardware of Serial port.\r
 \r
+  @return  Status of Serial Port Device initialization.\r
+\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -32,8 +34,8 @@ SerialPortInitialize (
 /**\r
   Write data to serial device. \r
  \r
-  If the buffer is NULL, then ASSERT()\r
-  if NumberOfBytes is zero, then ASSERT()\r
+  If the buffer is NULL, then return 0\r
+  if NumberOfBytes is zero, then return 0\r
 \r
   @param  Buffer           Point of data buffer which need to be writed.\r
   @param  NumberOfBytes    Number of output bytes which are cached in Buffer.\r
@@ -53,8 +55,8 @@ SerialPortWrite (
 /**\r
   Read data from serial device and save the datas in buffer.\r
  \r
-  If the buffer is NULL, then ASSERT(); \r
-  if NumberOfBytes is zero, then ASSERT(). \r
+  If the buffer is NULL, then return zero;\r
+  if NumberOfBytes is zero, then return zero.\r
 \r
   @param  Buffer           Point of data buffer which need to be writed.\r
   @param  NumberOfBytes    Number of output bytes which are cached in Buffer.\r