Home
last modified time | relevance | path

Searched refs:frame (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.3/docs/kernel/ipc/
Dsignal.md59frame │ │
64 │ sig handler │ └────────────┘ │ frame. │
/DragonOS-0.1.3/kernel/src/ipc/
Dsignal.rs643 let frame: *mut sigframe = get_stack(ka, &regs, size_of::<sigframe>()); in setup_frame() localVariable
646 let access_check_ok = unsafe { verify_area(frame as u64, size_of::<sigframe>() as u64) }; in setup_frame()
655 (*frame).arg0 = sig as u64; in setup_frame()
656 (*frame).arg1 = &((*frame).info) as *const siginfo as usize; in setup_frame()
657 (*frame).arg2 = &((*frame).context) as *const sigcontext as usize; in setup_frame()
658 (*frame).handler = ka._u._sa_handler as usize as *mut c_void; in setup_frame()
662 err |= copy_siginfo_to_user(unsafe { &mut (*frame).info }, info).unwrap_or(1); in setup_frame()
666 err |= setup_sigcontext(unsafe { &mut (*frame).context }, oldset, &regs).unwrap_or(1); in setup_frame()
671 (*frame).ret_code_ptr = ka.sa_restorer as usize as *mut c_void; in setup_frame()
687 regs.rsi = unsafe { &(*frame).info as *const siginfo as u64 }; in setup_frame()
[all …]