unsafe fn new(new_mapping: CpuPageMapping) -> Self {
        preempt_disable();
        let result = Self(get_cpu_page_mapping());
        cpu_page_mapping_switch_to(new_mapping);
        result
    }
/// Creates a new switch guard for a new mapping.
Creates a new switch guard for a new mapping.
Creates a new switch guard for a new mapping .
unsafe fn new(new_mapping: CpuPageMapping) -> Self {
        preempt_disable();
        let result = Self(get_cpu_page_mapping());
        cpu_page_mapping_switch_to(new_mapping);
        result
    }
unsafe fn new ( new_mapping : CpuPageMapping ) -> Self { preempt_disable ( ) ; let result = Self ( get_cpu_page_mapping ( ) ) ; cpu_page_mapping_switch_to ( new_mapping ) ; result }
Creates a new switch guard for a new mapping.
Creates a new switch guard for a new mapping .
new_mapping
CpuPageMapping
new_mapping
CpuPageMapping