We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c30d0e4 commit e1fe22bCopy full SHA for e1fe22b
1 file changed
crates/sel4/src/invocations.rs
@@ -348,6 +348,13 @@ impl<C: InvocationContext> SchedControl<C> {
348
349
#[sel4_cfg(KERNEL_MCS)]
350
impl<C: InvocationContext> SchedContext<C> {
351
+ /// Corresponds to `seL4_SchedContext_Bind`.
352
+ pub fn bind_ntfn(self, notification: Notification) -> Result<()> {
353
+ Error::wrap(self.invoke(|cptr, ipc_buffer| {
354
+ ipc_buffer.inner_mut().seL4_SchedContext_Bind(cptr.bits(), notification.bits())
355
+ }))
356
+ }
357
+
358
/// Corresponds to `seL4_SchedContext_Unbind`.
359
pub fn unbind(self) -> Result<()> {
360
Error::wrap(self.invoke(|cptr, ipc_buffer| {
0 commit comments