summaryrefslogtreecommitdiff
path: root/src/kernel/serial.h
diff options
context:
space:
mode:
authorBenji Dial <Benji3.141@gmail.com>2019-12-26 18:21:44 -0500
committerBenji Dial <Benji3.141@gmail.com>2019-12-26 18:21:44 -0500
commitc055a2f6a9778f93a8f09b6d820d2504d3fa2601 (patch)
treecdaf3f6cc2673571e67ecfde0dbf5b78c78037c2 /src/kernel/serial.h
parentdc6b746faa656729de3ffc5b3ec5b087328dbd27 (diff)
downloadportland-os-c055a2f6a9778f93a8f09b6d820d2504d3fa2601.tar.gz
keyboard skeleton, skeleton, rcs, etc
Diffstat (limited to 'src/kernel/serial.h')
-rw-r--r--src/kernel/serial.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/serial.h b/src/kernel/serial.h
index 88d3712..2588bee 100644
--- a/src/kernel/serial.h
+++ b/src/kernel/serial.h
@@ -18,6 +18,7 @@ OF THIS SOFTWARE.
*/
#include <stdint.h>
+#include <stdbool.h>
#ifndef SERIAL_H
#define SERIAL_H
@@ -31,5 +32,6 @@ enum serials {
void send_byte(uint8_t value, uint8_t port);
uint8_t read_byte(uint8_t port);
+bool poll_port(uint8_t port);
#endif \ No newline at end of file