Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/ipc/
Dsignal.rs618 (*frame).arg2 = &((*frame).context) as *const sigcontext as usize; in setup_frame()
628 (*frame).context.sc_stack.fpstate = *fp_state; in setup_frame()
638 err |= setup_sigcontext(unsafe { &mut (*frame).context }, oldset, &regs).unwrap_or(1); in setup_frame()
725 context: &mut sigcontext, in setup_sigcontext()
731 context.oldmask = *mask; in setup_sigcontext()
732 context.regs = regs.clone(); in setup_sigcontext()
733 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()
746 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.8/kernel/src/arch/x86_64/
Dmod.rs3 pub mod context; module
/DragonOS-0.1.8/kernel/src/sched/
Dsyscall.rs2 arch::{asm::current::current_pcb, context::switch_process, CurrentIrqArch},
/DragonOS-0.1.8/kernel/src/net/
Dsocket.rs820 match socket.connect(&mut inner_iface.context(), ip, temp_port) { in connect()