diff options
| author | Jake Mannens <jake72360@gmail.com> | 2018-09-01 02:27:36 +1000 |
|---|---|---|
| committer | Jake Mannens <jake72360@gmail.com> | 2018-09-01 02:27:36 +1000 |
| commit | 6d87016287ea76afbdf7e16fb2cf9e4fa20cc0de (patch) | |
| tree | 9c2ed07925bc89ff3da3d275a6d29d80bb91d955 /include/kernel/serial.h | |
| parent | 307eaac66d378c1f6150519123ec1204277464d9 (diff) | |
Removed the sys_puts system call in favour of calls to tty_write().
Removed the rsputs() function in favour of calls to tty_write().
Corrected a bug in the serial driver and TTY subsystem where a full
buffer wouldn't be detected. This was caused by a missing set of
brackets on several operations involving the modulus operator.
Added the ability for the serial driver to automatically take data from
the TTY device's write buffer and push it to the serial port. This can
happen in one of two ways; 1) the TTY subsystem notifies the serial
driver of new data by calling the write() function pointer in the
tty_struct or, 2) the serial port issues an interrupt signalling that it
has finished sending data prompting the driver to check the buffers for
any more pending data.
Diffstat (limited to 'include/kernel/serial.h')
| -rw-r--r-- | include/kernel/serial.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/kernel/serial.h b/include/kernel/serial.h index 6ac5d65..beb0891 100644 --- a/include/kernel/serial.h +++ b/include/kernel/serial.h @@ -6,8 +6,6 @@ extern struct tty_struct tty_rs; -int rsputs(char*); - ssize_t rsread(void*, size_t); void serial_init(void); |
