Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/process/
H A Dmod.rs312 let mut new_arch_guard = unsafe { new_pcb.arch_info() }; in copy_thread() localVariable
316 new_arch_guard.set_stack_base(kernel_stack_guard.stack_max_address()); in copy_thread()
320 new_arch_guard.set_stack(trap_frame_vaddr); in copy_thread()
333 new_arch_guard.fsbase = current_arch_guard.fsbase; in copy_thread()
334 new_arch_guard.gsbase = current_arch_guard.gsbase; in copy_thread()
335 new_arch_guard.fs = current_arch_guard.fs; in copy_thread()
336 new_arch_guard.gs = current_arch_guard.gs; in copy_thread()
337 new_arch_guard.fp_state = current_arch_guard.fp_state; in copy_thread()
341 new_arch_guard.fp_state = Some(*fp_state); in copy_thread()
348 new_arch_guard.rip = kthread_bootstrap_stage1_func_addr; in copy_thread()
[all …]
/DragonOS/kernel/src/arch/riscv64/process/
H A Dmod.rs114 let mut new_arch_guard = unsafe { new_pcb.arch_info() }; in copy_thread() localVariable
118 new_arch_guard.set_stack(trap_frame_vaddr); in copy_thread()
134 new_arch_guard.fp_state = current_arch_guard.fp_state; in copy_thread()
135 new_arch_guard.sstatus = current_arch_guard.sstatus; in copy_thread()
142 new_arch_guard.ra = kthread_bootstrap_stage1_func_addr; in copy_thread()
144 new_arch_guard.ra = ret_from_exception as usize; in copy_thread()
149 drop(new_arch_guard); in copy_thread()