summaryrefslogtreecommitdiff
path: root/MdePkg/Library/SerialPortLibNull
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/SerialPortLibNull')
-rw-r--r--MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c b/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c
index 1fdc6586a5..fa256facc7 100644
--- a/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c
+++ b/MdePkg/Library/SerialPortLibNull/SerialPortLibNull.c
@@ -73,3 +73,23 @@ SerialPortRead (
return 0;
}
+/**
+ Poll the serial device to see if there is any data waiting.
+
+ 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.
+
+ @retval FALSE There is no data waiting to be read.
+
+**/
+BOOLEAN
+EFIAPI
+SerialPortPoll (
+ VOID
+ )
+{
+ return FALSE;
+}
+
+ \ No newline at end of file