⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

zero_copy_transfer

Function zero_copy_transfer 

Source
pub fn zero_copy_transfer(
    region_id: u64,
    from_process: ProcessId,
    to_process: ProcessId,
    manager: &SharedMemoryManager,
) -> Result<()>
Expand description

Zero-copy message transfer using shared memory.

Validates that the source process owns the region and the destination process has appropriate permissions, then remaps the physical pages into the destination’s address space. The source mapping is left intact (read-only downgrade could be added for move semantics).