Searched refs:context (Results 1 – 4 of 4) sorted by relevance
3 pub mod context; module
657 (*frame).arg2 = &((*frame).context) as *const sigcontext as usize; in setup_frame()666 err |= setup_sigcontext(unsafe { &mut (*frame).context }, oldset, ®s).unwrap_or(1); in setup_frame()745 fn setup_sigcontext(context: &mut sigcontext, mask: &sigset_t, regs: &pt_regs) -> Result<i32, i32> { in setup_sigcontext()748 context.oldmask = *mask; in setup_sigcontext()749 context.regs = regs.clone(); in setup_sigcontext()750 context.trap_num = unsafe { (*current_thread).trap_num }; in setup_sigcontext()751 context.err_code = unsafe { (*current_thread).err_code }; in setup_sigcontext()752 context.cr2 = unsafe { (*current_thread).cr2 }; in setup_sigcontext()763 fn restore_sigcontext(context: *const sigcontext, regs: &mut pt_regs) -> bool { in restore_sigcontext()766 *regs = (*context).regs; in restore_sigcontext()[all …]
642 pub context: sigcontext, field
6 context::switch_process,