Function release_dual_mapping

Source
pub fn release_dual_mapping(
    dm: &mut DualMapping,
    size: usize,
) -> Result<(), Error>
Expand description

Releases virtual memory mapping previously allocated by alloc_dual_mapping().

Both pointers in dm would be set to nullptr if the function succeeds.