pub unsafe fn translate_low_addr_mut<T>(addr: u32) -> Option<*mut T> {
    if addr >= KERNEL_LOW_START && addr < KERNEL_LOW_END {
        Some((KERNEL_OFFSET + (addr as usize)) as *mut T)
    } else {
        None
    }
}
/// Get a usable mutable pointer in kernel space from a low address.
///
/// Returns `Some(ptr)` only if `addr` is in the range
/// `KERNEL_LOW_START..KERNEL_LOW_END`, which is the initial identity mapped
/// region.
Get a usable mutable pointer in kernel space from a low address.
Get a usable mutable pointer in kernel space from a low address .
pub unsafe fn translate_low_addr_mut<T>(addr: u32) -> Option<*mut T> {
    if addr >= KERNEL_LOW_START && addr < KERNEL_LOW_END {
        Some((KERNEL_OFFSET + (addr as usize)) as *mut T)
    } else {
        None
    }
}
pub unsafe fn translate_low_addr_mut < T > ( addr : u32 ) -> Option < * mut T > { if addr >= KERNEL_LOW_START && addr < KERNEL_LOW_END { Some ( ( KERNEL_OFFSET + ( addr as usize ) ) as * mut T ) } else { None } }
Get a usable mutable pointer in kernel space from a low address.
Get a usable mutable pointer in kernel space from a low address .
addr
u32