Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/riscv64/process/
H A Dmod.rs111 let mut child_trapframe = *current_trapframe; in copy_thread() localVariable
114 child_trapframe.set_return_value(0); in copy_thread()
127 child_trapframe.sp = usp; in copy_thread()
130 *trap_frame_ptr = child_trapframe; in copy_thread()
/DragonOS/kernel/src/arch/x86_64/process/
H A Dmod.rs306 let mut child_trapframe = *current_trapframe; in copy_thread() localVariable
309 child_trapframe.set_return_value(0); in copy_thread()
326 child_trapframe.rsp = usp as u64; in copy_thread()
329 *trap_frame_ptr = child_trapframe; in copy_thread()