Skip to content

Commit

Permalink
fix cnode part bug and try to decline the number of cap::cap_cnode_ca…
Browse files Browse the repository at this point in the history
…p use
  • Loading branch information
ZhiyuanSue committed Jan 3, 2025
1 parent e5e09c2 commit 606e3d4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/endpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ pub trait endpoint_func {
#[cfg(not(feature = "KERNEL_MCS"))]
fn receive_ipc(&mut self, thread: &mut tcb_t, is_blocking: bool, grant: bool);
#[cfg(feature = "KERNEL_MCS")]
fn receive_ipc(&mut self, thread: &mut tcb_t, is_blocking: bool, Option_reply_cap: Option<&mut cap_reply_cap>);
fn receive_ipc(
&mut self,
thread: &mut tcb_t,
is_blocking: bool,
Option_reply_cap: Option<&mut cap_reply_cap>,
);
#[cfg(feature = "KERNEL_MCS")]
fn reorder_EP(&mut self, thread: &mut tcb_t);
}
Expand Down

0 comments on commit 606e3d4

Please sign in to comment.