pub unsafe fn switch_to(&mut self) {
        write_volatile(&mut SYSCALL_FIRED, 0);
        let psp = switch_to_user(self.current_stack_pointer,
                                 mem::transmute(&mut self.stored_regs));
        self.current_stack_pointer = psp;
        if self.current_stack_pointer < self.debug.min_stack_pointer {
            self.debug.min_stack_pointer = self.current_stack_pointer;
        }
    }
/// Context switch to the process.
Context switch to the process.
Context switch to the process .
pub unsafe fn switch_to(&mut self) {
        write_volatile(&mut SYSCALL_FIRED, 0);
        let psp = switch_to_user(self.current_stack_pointer,
                                 mem::transmute(&mut self.stored_regs));
        self.current_stack_pointer = psp;
        if self.current_stack_pointer < self.debug.min_stack_pointer {
            self.debug.min_stack_pointer = self.current_stack_pointer;
        }
    }
pub unsafe fn switch_to ( & mut self ) { write_volatile ( & mut SYSCALL_FIRED , 0 ) ; let psp = switch_to_user ( self . current_stack_pointer , mem :: transmute ( & mut self . stored_regs ) ) ; self . current_stack_pointer = psp ; if self . current_stack_pointer < self . debug . min_stack_pointer { self . debug . min_stack_pointer = self . current_stack_pointer ; } }
Context switch to the process.
Context switch to the process .
&mut self
&mut self