pub(crate) fn panic_if_unmapped(start: Address, size: usize)
Expand description

Checks if the memory has already been mapped. If not, we panic. Note that the checking has a side effect that it will map the memory if it was unmapped. So we panic if it was unmapped. Be very careful about using this function.