Add serial ports driver #94

Open
b00bl1k wants to merge 4 commits from b00bl1k/kolibrios:add-serial-ports-driver into main
First-time 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 21:03:38 +01:00
b00bl1k added 1 commit 2024-12-29 19:11:59 +01:00
b00bl1k added 1 commit 2024-12-30 15:13:28 +01:00
Doczom added the
Kind
Feature
Priority
High
FASM
Category/Drivers
labels 2025-01-01 20:09:16 +01:00
Doczom reviewed 2025-01-03 19:48:08 +01: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
First-time contributor

Ok, done

Ok, done
Doczom marked this conversation as resolved
Doczom approved these changes 2025-01-03 19:53:34 +01: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 18:05:42 +01:00
b00bl1k changed title from WIP: Add serial ports driver to Add serial ports driver 2025-01-04 18:07:29 +01:00
Sweetbread approved these changes 2025-01-04 18:21:15 +01:00
Doczom requested review from Doczom 2025-01-04 19:03:03 +01:00
Doczom approved these changes 2025-01-04 19:04:22 +01:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u add-serial-ports-driver:b00bl1k-add-serial-ports-driver
git checkout b00bl1k-add-serial-ports-driver
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#94
No description provided.