Add serial ports driver #94

Merged
Sweetbread merged 4 commits from b00bl1k/kolibrios:add-serial-ports-driver into main 2025-01-12 13:28:51 +00:00
Contributor

This pull request adds a new serial port driver that allows other drivers to add or remove ports dynamically and allows applications to use a single serial ports API. It also modifies the usbftdi driver to support the new serial ports API.

The driver may conflict with kernel if it is compiled with debug_com_base.

Topic on forum https://board.kolibrios.org/viewtopic.php?p=78764

This pull request adds a new serial port driver that allows other drivers to add or remove ports dynamically and allows applications to use a single serial ports API. It also modifies the usbftdi driver to support the new serial ports API. The driver may conflict with kernel if it is compiled with debug_com_base. Topic on forum https://board.kolibrios.org/viewtopic.php?p=78764
b00bl1k added 1 commit 2024-12-27 20:03:38 +00:00
b00bl1k added 1 commit 2024-12-29 18:11:59 +00:00
b00bl1k added 1 commit 2024-12-30 14:13:28 +00:00
Doczom added the
Kind
Feature
Priority
High
FASMCategory/Drivers
labels 2025-01-01 19:09:16 +00:00
Doczom reviewed 2025-01-03 18:48:08 +00:00
@@ -0,0 +152,4 @@
mov eax, SF_SYS_MISC
mov ebx, SSF_CONTROL_DRIVER
lea ecx, [.handler]
int 0x40
Owner

"int 0x40" should be replaced with the macro "mcall", passing all necessary arguments to this macro.

"int 0x40" should be replaced with the macro "mcall", passing all necessary arguments to this macro.
Author
Contributor

Ok, done

Ok, done
Doczom marked this conversation as resolved
Doczom approved these changes 2025-01-03 18:53:34 +00:00
Dismissed
Doczom left a comment
Owner

The driver is working and can be added to the repository. But there are parts of the code where additional changes are possible.

The driver is working and can be added to the repository. But there are parts of the code where additional changes are possible.
b00bl1k added 1 commit 2025-01-04 17:05:42 +00:00
b00bl1k changed title from WIP: Add serial ports driver to Add serial ports driver 2025-01-04 17:07:29 +00:00
Sweetbread approved these changes 2025-01-04 17:21:15 +00:00
Doczom requested review from Doczom 2025-01-04 18:03:03 +00:00
Doczom approved these changes 2025-01-04 18:04:22 +00:00
Sweetbread merged commit 5593d344cd into main 2025-01-12 13:28:51 +00:00
Sweetbread referenced this issue from a commit 2025-01-12 13:28:53 +00:00
Sweetbread deleted branch add-serial-ports-driver 2025-01-12 13:30:03 +00:00
Sign in to join this conversation.
No Reviewers
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#94