pub unsafe fn alloc() -> *mut u8
Expand description

SAFETY: this must be called after init

Allocates a 4K page of memory, the returned address is guaranteed to be aligned to 4K, and is mapped into virtual space Please use virtual2physical to get the physical address