Home
last modified time | relevance | path

Searched refs:arch_info_irqsave (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/arch/x86_64/process/
H A Dmod.rs332 let current_arch_guard = current_pcb.arch_info_irqsave(); in copy_thread()
372 prev.arch_info_irqsave().save_fp_state(); in switch_process()
374 next.arch_info_irqsave().restore_fp_state(); in switch_process()
377 prev.arch_info_irqsave().save_fsbase(); in switch_process()
378 next.arch_info_irqsave().restore_fsbase(); in switch_process()
393 let next_arch = SpinLockGuard::leak(next.arch_info_irqsave()) as *mut ArchPCBInfo; in switch_process()
394 let prev_arch = SpinLockGuard::leak(prev.arch_info_irqsave()) as *mut ArchPCBInfo; in switch_process()
417 prev.arch_info_irqsave().save_gsbase(); in switch_gsbase()
418 next.arch_info_irqsave().restore_gsbase(); in switch_gsbase()
420 next.arch_info_irqsave().store_kernel_gsbase(); in switch_gsbase()
[all …]
H A Dsyscall.rs71 let mut arch_info = pcb.arch_info_irqsave(); in do_arch_prctl_64()
/DragonOS/kernel/src/arch/riscv64/process/
H A Dmod.rs62 let mut arch_guard = current_pcb.arch_info_irqsave(); in arch_switch_to_user()
132 let current_arch_guard = current_pcb.arch_info_irqsave(); in copy_thread()
185 let next_arch = SpinLockGuard::leak(next.arch_info_irqsave()) as *mut ArchPCBInfo; in switch_process()
186 let prev_arch = SpinLockGuard::leak(prev.arch_info_irqsave()) as *mut ArchPCBInfo; in switch_process()
203 prev.arch_info_irqsave().fp_state.save(prev_regs); in switch_process_fpu()
205 next.arch_info_irqsave().fp_state.restore(next_regs); in switch_process_fpu()
209 prev.arch_info_irqsave().local_context = *local_context().get(); in switch_local_context()
212 .restore(&next.arch_info_irqsave().local_context); in switch_local_context()
/DragonOS/kernel/src/process/
H A Dc_adapter.rs54 return ProcessManager::current_pcb().arch_info_irqsave().rbp() as u64; in rs_current_pcb_thread_rbp()
H A Dfork.rs397 let guard = current_pcb.arch_info_irqsave(); in copy_process()
H A Dmod.rs852 pub fn arch_info_irqsave(&self) -> SpinLockGuard<ArchPCBInfo> { in arch_info_irqsave() method
/DragonOS/kernel/src/arch/x86_64/ipc/
H A Dsignal.rs364 let mut archinfo_guard = pcb.arch_info_irqsave(); in setup_sigcontext()
387 let mut arch_info = guard.arch_info_irqsave(); in restore_sigcontext()