]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/SerialPortLib.h
Update Hob Instance to remove the unused InternalHobLib.h file.
[mirror_edk2.git] / MdePkg / Include / Library / SerialPortLib.h
index dc4031a974dbf091a49531a92ead1552a01a573a..59c5c27e3f764b813e85ab6cab6605a61acdf59a 100644 (file)
@@ -70,5 +70,21 @@ SerialPortRead (
   IN  UINTN    NumberOfBytes\r
   );\r
 \r
+/**\r
+  Poll the serial device to see if there is any data waiting.\r
+\r
+  If there is data waiting to be read from the serial port, then return\r
+  TRUE.  If there is no data waiting to be read from the serial port, then \r
+  return FALSE.\r
+\r
+  @retval TRUE             Data is waiting to be read.\r
+  @retval FALSE            There is no data waiting to be read.\r
+\r
+**/\r
+BOOLEAN\r
+EFIAPI\r
+SerialPortPoll (\r
+  VOID\r
+  );\r
 \r
 #endif\r