diff options
author | dzwdz | 2022-05-05 21:41:04 +0200 |
---|---|---|
committer | dzwdz | 2022-05-05 21:41:04 +0200 |
commit | f9bc4ac436dec5f2f1f1db31c4933c80ed40568b (patch) | |
tree | 05124db3cfc86556df603c05543457eb60d20f4e /src/kernel/arch/i386/driver/serial.h | |
parent | dc42353f53df0b5425377330f16e668829d8fd9a (diff) |
kernel: move the COM1 driver to a separate handler
Diffstat (limited to 'src/kernel/arch/i386/driver/serial.h')
-rw-r--r-- | src/kernel/arch/i386/driver/serial.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kernel/arch/i386/driver/serial.h b/src/kernel/arch/i386/driver/serial.h index c2b93ce..e7f9b7c 100644 --- a/src/kernel/arch/i386/driver/serial.h +++ b/src/kernel/arch/i386/driver/serial.h @@ -1,4 +1,5 @@ #pragma once +#include <kernel/vfs/request.h> #include <stdbool.h> #include <stddef.h> @@ -9,3 +10,6 @@ void serial_irq(void); size_t serial_read(char *buf, size_t len); void serial_write(const char *buf, size_t len); + +int vfs_com1_accept(struct vfs_request *); +bool vfs_com1_ready(struct vfs_backend *); |