Skip to content

Commit

Permalink
crates/sel4-microkit: Add ipc::reply()
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Spinale <[email protected]>
  • Loading branch information
nspin committed Jun 24, 2024
1 parent 1be696d commit 3092bba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/sel4-microkit/base/src/ipc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ impl Iterator for NotifiedEventIter {
}
}

pub fn reply(msg_info: MessageInfo) {
REPLY_CAP.send(msg_info.into_inner())
}

pub fn recv() -> Event {
Event::from_recv(INPUT_CAP.recv(REPLY_CAP))
}
Expand Down

0 comments on commit 3092bba

Please sign in to comment.