Expand description
Kernel core of IPC ABI v2: generation handles, endpoints, reply targets,
notifications, memory objects, silo quotas and async-ring operations
(§3–§12). The namespace table lives in crate::namespace::v2.
Re-exports§
pub use handle::Entry;pub use handle::HandleTable;pub use handle::ObjRef;pub use handle::MAX_HANDLES;use crate::process::process::Process;🔒use crate::process::TaskId;🔒use crate::sync::SpinLock;🔒use alloc::sync::Arc;🔒use alloc::sync::Weak;🔒use alloc::vec::Vec;🔒use endpoint::abandon_call;🔒use endpoint::cancel_call;🔒use endpoint::CallSlot;🔒
Modules§
- async_
ops - IPC v2 operations on async rings:
AsyncOp13–17 (spec §11). - endpoint
- Endpoint and reply-target objects (IPC ABI v2, §5 and §6).
- handle
- Per-process generation-tagged handle table (IPC ABI v2, §3.1).
- memobj
- Memory objects (IPC ABI v2, §9.1).
- notif
- Notification objects (IPC ABI v2, §7).
- quota
- Silo IPC quotas (IPC ABI v2, §12).
- selftest
- Runtime self-tests of the IPC v2 object layer (feature
selftest).
Statics§
- CALL_
SLOTS 🔒 - Weak registry of live call slots so task/endpoint death can cancel calls without ever touching another address space.
Functions§
- cancel_
calls_ for_ endpoint - Cancel every call attached to
endpoint_id(called on endpoint close). - cleanup_
for_ task - Cancel every call whose caller is
task_id. Called when a task exits so a late server reply fails withEPIPEinstead of writing a freed buffer. - cleanup_
process - Drop every handle owned by a dying process, applying object side effects.
- collect_
calls 🔒 - register_
call - Register a call slot for exit/endpoint cleanup.