[][src]Function syscall::call::physalloc2

pub unsafe fn physalloc2(size: usize, flags: usize) -> Result<usize>

Allocate frames, linearly in physical memory, with an extra set of flags. If the flags contain PARTIAL_ALLOC, this will result in physalloc3 with min = 1.

Refer to the simpler physalloc and the more complex physalloc3, that this convenience function is based on.

Errors