Skip to content

missing async uart.h system calls #21431

@andrewboie

Description

@andrewboie

Describe the bug
The set of system calls for our serial API subsystem is incomplete. We are missing system calls for the following APIs, all of which are related to CONFIG_UART_ASYNC_API:

uart_tx()
uart_tx_abort()
uart_rx_enable()
uart_rx_disable()

uart_callback_set() installs a callback handler and shouldn't have a system call. uart_tx_buf_rsp() is only intended to be invoked from callbacks. The rest we should add unless we can specify a reason not to.

Impact
User mode threads can't use these APIs.

Metadata

Metadata

Labels

area: Memory Protectionarea: UARTUniversal Asynchronous Receiver-TransmitterbugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions