Allocates pageable memory in the kernel map.
- macOS 10.0+
Size of the memory requested.
Byte count of the alignment for the memory. For example, pass 256 to get memory allocated at an address with bits 0-7 zero.
Pointer to the allocated memory, or zero on failure.
This is a utility to allocate pageable memory in the kernel. This function may block and so should not be called from interrupt level or while a simple lock is held.