[][src]Function syscall::call::physalloc3

pub unsafe fn physalloc3(
    size: usize,
    flags: usize,
    min: &mut usize
) -> Result<usize>

Allocate frames, linearly in physical memory, with an extra set of flags. If the flags contain PARTIAL_ALLOC, the min parameter specifies the number of frames that have to be allocated for this operation to succeed. The return value is the offset of the first frame, and min is overwritten with the number of frames actually allocated.

Refer to the simpler physalloc and the simpler library function physalloc2.

Errors