Home
last modified time | relevance | path

Searched refs:context (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.7/kernel/src/arch/x86_64/
Dmod.rs3 pub mod context; module
/DragonOS-0.1.7/kernel/src/ipc/
Dsignal.rs663 (*frame).arg2 = &((*frame).context) as *const sigcontext as usize; in setup_frame()
673 (*frame).context.sc_stack.fpstate = *fp_state; in setup_frame()
683 err |= setup_sigcontext(unsafe { &mut (*frame).context }, oldset, &regs).unwrap_or(1); in setup_frame()
770 context: &mut sigcontext, in setup_sigcontext()
776 context.oldmask = *mask; in setup_sigcontext()
777 context.regs = regs.clone(); in setup_sigcontext()
778 context.trap_num = unsafe { (*current_thread).trap_num }; in setup_sigcontext()
779 context.err_code = unsafe { (*current_thread).err_code }; in setup_sigcontext()
780 context.cr2 = unsafe { (*current_thread).cr2 }; in setup_sigcontext()
791 fn restore_sigcontext(context: *const sigcontext, regs: &mut pt_regs) -> bool { in restore_sigcontext()
[all …]
Dsignal_types.rs643 pub context: sigcontext, field
/DragonOS-0.1.7/kernel/src/sched/
Dcore.rs6 context::switch_process,
/DragonOS-0.1.7/kernel/src/net/
Dsocket.rs677 match socket.connect(&mut inner_iface.context(), ip, temp_port) { in connect()