From: eric_tian Date: Thu, 9 Oct 2008 10:11:48 +0000 (+0000) Subject: sync SerialPortLib.h with mde library spec0.61d-8.doc on webtop. X-Git-Tag: edk2-stable201903~20137 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=07974e784acfc9f66f0713ef0bb1e2f004293493;p=mirror_edk2.git sync SerialPortLib.h with mde library spec0.61d-8.doc on webtop. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6089 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Include/Library/SerialPortLib.h b/MdePkg/Include/Library/SerialPortLib.h index d6eb376ff6..19d6094140 100644 --- a/MdePkg/Include/Library/SerialPortLib.h +++ b/MdePkg/Include/Library/SerialPortLib.h @@ -85,14 +85,14 @@ SerialPortRead ( ); /** - Poll the serial device to see if there is any data waiting. + Polls a serial device to see if there is any data waiting to be read. - If there is data waiting to be read from the serial port, then return - TRUE. If there is no data waiting to be read from the serial port, then - return FALSE. + Polls aserial device to see if there is any data waiting to be read. + If there is data waiting to be read from the serial device, then TRUE is returned. + If there is no data waiting to be read from the serial device, then FALSE is returned. - @retval TRUE Data is waiting to be read. - @retval FALSE There is no data waiting to be read. + @retval TRUE Data is waiting to be read from the serial device. + @retval FALSE There is no data waiting to be read from the serial device. **/ BOOLEAN diff --git a/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c b/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c index e6b3c63365..ff1d14baba 100644 --- a/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c +++ b/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c @@ -90,13 +90,14 @@ SerialPortRead ( } /** - Poll the serial device to see if there is any data waiting. + Polls a serial device to see if there is any data waiting to be read. - If there is data waiting to be read from the serial port, then return - TRUE. If there is no data waiting to be read from the serial port, then - return FALSE. + Polls aserial device to see if there is any data waiting to be read. + If there is data waiting to be read from the serial device, then TRUE is returned. + If there is no data waiting to be read from the serial device, then FALSE is returned. - @retval FALSE There is no data waiting to be read. + @retval TRUE Data is waiting to be read from the serial device. + @retval FALSE There is no data waiting to be read from the serial device. **/ BOOLEAN