-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previously used method of swapping UARTs relied on a kernel's function available during init only. Additionally, that function was used after tinkering with the internal structures of the console indexes. Overall a very hacky way. Previous attempts to make it normal failed. However, this one should be stable and robust as it doesn't really hack much around. It should handle many edge cases, which are unimaginable for the current ttyS0/ttyS1 swapping needs. We felt the project deserves a complete solution for that problem, which if needed for something else can be extracted and used as a standalone library.
- Loading branch information
1 parent
e4f350c
commit 22d4019
Showing
6 changed files
with
489 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.