]> 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 cda5ad17dba0d9d5d4bbc75dda880433b8d8def5..153e38cd15fce91ca0c0cc6d608ec23686eea1e1 100644 (file)
@@ -34,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
@@ -55,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