Function region::unlock[][src]

pub unsafe fn unlock(address: *const u8, size: usize) -> Result<()>

Unlocks one or more memory regions from RAM.

Safety

This function is unsafe since it cannot be known whether it is called on a locked region or not. In normal uses cases, the LockGuard is recommended for safe code.