From 87183fbaf0bc92a0166eeb580202777c27d9a823 Mon Sep 17 00:00:00 2001 From: jackhu Date: Sat, 4 Jan 2025 01:31:13 +0800 Subject: [PATCH] fix the bug of func recv_slot --- crates/sel4/src/ipc_buffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/sel4/src/ipc_buffer.rs b/crates/sel4/src/ipc_buffer.rs index 2e6cc8670..e761428f9 100644 --- a/crates/sel4/src/ipc_buffer.rs +++ b/crates/sel4/src/ipc_buffer.rs @@ -66,7 +66,7 @@ impl IpcBuffer { let inner = self.inner(); cap::CNode::from_bits(inner.receiveCNode).absolute_cptr_from_bits_with_depth( inner.receiveIndex, - inner.receiveCNode.try_into().unwrap(), + inner.receiveDepth.try_into().unwrap(), ) }