pub fn unmap_kernel(entry: &VirtualMemoryMapEntry, is_allocated: bool)Expand description
is_allocated is used to indicate if the physical pages were allocated by the caller
i.e. when we called map_kernel, the physical_address is None and we will allocate the pages, and thus
when calling this function, you should pass is_allocated = true