Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/ipc/
Dsignal.rs629 (*frame).arg2 = &((*frame).context) as *const sigcontext as usize; in setup_frame()
638 err |= setup_sigcontext(unsafe { &mut (*frame).context }, oldset, &regs).unwrap_or(1); in setup_frame()
717 fn setup_sigcontext(context: &mut sigcontext, mask: &sigset_t, regs: &pt_regs) -> Result<i32, i32> { in setup_sigcontext()
720 context.oldmask = *mask; in setup_sigcontext()
721 context.regs = regs.clone(); in setup_sigcontext()
722 context.trap_num = unsafe { (*current_thread).trap_num }; in setup_sigcontext()
723 context.err_code = unsafe { (*current_thread).err_code }; in setup_sigcontext()
724 context.cr2 = unsafe { (*current_thread).cr2 }; in setup_sigcontext()
735 fn restore_sigcontext(context: *const sigcontext, regs: &mut pt_regs) -> bool { in restore_sigcontext()
738 *regs = (*context).regs; in restore_sigcontext()
[all …]
Dsignal_types.rs635 pub context: sigcontext, field
/DragonOS-0.1.2/kernel/
Dcbindgen.toml331 # * "UpperCase": same as ScreamingSnakeCase in this context
332 # * "QualifiedScreamingSnakeCase" => same as ScreamingSnakeCase in this context
360 # * "UpperCase": same as ScreamingSnakeCase in this context
361 # * "QualifiedScreamingSnakeCase" => same as ScreamingSnakeCase in this context