ADD: Serial TTY driver and TTY chardev registration#231
Draft
riblanc wants to merge 1 commit into
Draft
Conversation
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 ⛓️ Depends-On RequirementsWaiting for
This rule is failing.Requirement based on the presence of
|
a37002d to
594ee3c
Compare
594ee3c to
5cb4119
Compare
5cb4119 to
a240525
Compare
a240525 to
cdb6d30
Compare
New drivers/tty/serial_tty.zig: - Inlined UART 16550 I/O (probe, activate, read, write) - TtyDriver backend for serial ports (COM1-COM4) - IRQ-driven receive via drain_uart() - set_termios for baud rate / line parameter changes.. New drivers/tty/tty_cdev.zig: - Register /dev/tty0..4 (VGA consoles, major 4, minor 0+) - Register /dev/ttyS0..3 (serial ports, major 4, minor 64+) Deleted drivers/serial_port/serial.zig (replaced by serial_tty). Rewired CI shell and logger to use serial_tty instead of the deleted Serial driver.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New drivers/tty/serial_tty.zig:
New drivers/tty/tty_cdev.zig:
Deleted drivers/serial_port/serial.zig (replaced by serial_tty).
Rewired CI shell and logger to use serial_tty instead of the deleted Serial driver.
Depends-on: #230