Skip to content

Add WithMRs variants for the remaining seL4 IPC syscalls#331

Open
dlom wants to merge 1 commit intoseL4:mainfrom
dlom:mold/add-remaining-withmrs-variants
Open

Add WithMRs variants for the remaining seL4 IPC syscalls#331
dlom wants to merge 1 commit intoseL4:mainfrom
dlom:mold/add-remaining-withmrs-variants

Conversation

@dlom
Copy link
Copy Markdown

@dlom dlom commented Mar 30, 2026

The existing WithMRs syscall variants allow IPC to bypass the IPC buffer and pass message registers directly, but this pattern was only implemented for a subset of syscalls (Send, NBSend, Reply, Recv, Call, and Wait). This change completes the set by adding WithMRs variants for NBRecv, ReplyRecv, and (MCS only) NBSendRecv, NBSendWait, NBWait. Each addition follows the same structure as those around it.

This change also exposes these syscalls to the ergonomic Rust API. No tests were added.

@dlom dlom requested a review from nspin as a code owner March 30, 2026 19:25
The existing WithMRs syscall variants allow IPC to bypass the IPC buffer
and pass message registers directly, but this pattern was only
implemented for a subset of syscalls (Send, NBSend, Reply, Recv, Call,
and Wait). This change completes the set by adding WithMRs variants for
NBRecv, ReplyRecv, and (MCS only) NBSendRecv, NBSendWait, NBWait. Each
addition follows the same structure as those around it. This change also
exposes these syscalls to the ergonomic Rust API. No tests were added.

Signed-off-by: Mark Old <mold@redhat.com>
@dlom dlom force-pushed the mold/add-remaining-withmrs-variants branch from 915d41a to fc330cd Compare March 30, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant