poplar::syscall

Function create_memory_object

Source
pub unsafe fn create_memory_object(
    size: usize,
    flags: MemoryObjectFlags,
    physical_address_ptr: *mut usize,
) -> Result<Handle, CreateMemoryObjectError>
Expand description

Create a MemoryObject kernel object of the given size (in bytes). Returns a handle to the new MemoryObject, if the call was successful.