Searched refs:current_thread (Results 1 – 1 of 1) sorted by relevance
729 let current_thread = current_pcb().thread; in setup_sigcontext() localVariable733 context.trap_num = unsafe { (*current_thread).trap_num }; in setup_sigcontext()734 context.err_code = unsafe { (*current_thread).err_code }; in setup_sigcontext()735 context.cr2 = unsafe { (*current_thread).cr2 }; in setup_sigcontext()747 let mut current_thread = current_pcb().thread; in restore_sigcontext() localVariable751 (*current_thread).trap_num = (*context).trap_num; in restore_sigcontext()752 (*current_thread).cr2 = (*context).cr2; in restore_sigcontext()753 (*current_thread).err_code = (*context).err_code; in restore_sigcontext()