Home
last modified time | relevance | path

Searched defs:sigcontext (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.2/kernel/src/ipc/
Dsignal_types.rs639 pub struct sigcontext { struct
641 pub sc_flags: u64,
642 pub sc_stack: signal_stack, // 信号处理程序备用栈信
644 pub regs: pt_regs, // 暂存的系统调用/中断返回时,原本要弹出的内核栈
645 pub trap_num: u64, // 用来保存线程结构体中的trap_num字
646 pub oldmask: u64, // 暂存的执行信号处理函数之前的,被设置block的信
647 pub cr2: u64, // 用来保存线程结构体中的cr2字
648 pub err_code: u64, // 用来保存线程结构体中的err_code字
650 pub reserved_for_x87_state: u64,
651 pub reserved: [u64; 8],
Dsignal.rs629 (*frame).arg2 = &((*frame).context) as *const sigcontext as usize; in setup_frame() constant
717 fn setup_sigcontext(context: &mut sigcontext, mask: &sigset_t, regs: &pt_regs) -> Result<i32, i32> { in setup_sigcontext()
735 fn restore_sigcontext(context: *const sigcontext, regs: &mut pt_regs) -> bool { in restore_sigcontext()