Home
last modified time | relevance | path

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

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