]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c
Add SerialPortPoll Api in SerialPortLib to Poll the serial device to see if there...
[mirror_edk2.git] / MdePkg / Library / SerialPortLibNull / SerialPortLibNull.c
index 1fdc6586a5612ba9f5f5d7b37f17f2a088aaea22..fa256facc7abdaa5aed2a668b31ac2eaa09159d1 100644 (file)
@@ -73,3 +73,23 @@ SerialPortRead (
   return 0;\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 FALSE            There is no data waiting to be read.\r
+\r
+**/\r
+BOOLEAN\r
+EFIAPI\r
+SerialPortPoll (\r
+  VOID\r
+  )\r
+{\r
+  return FALSE; \r
+} \r
+\r
\ No newline at end of file