Home
last modified time | relevance | path

Searched refs:arch_info (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.9/kernel/src/arch/x86_64/process/
Dsyscall.rs138 let mut arch_info = pcb.arch_info_irqsave(); in do_arch_prctl_64() localVariable
141 unsafe { arch_info.save_fsbase() }; in do_arch_prctl_64()
147 writer.copy_one_to_user(&arch_info.fsbase, 0)?; in do_arch_prctl_64()
150 unsafe { arch_info.save_gsbase() }; in do_arch_prctl_64()
156 writer.copy_one_to_user(&arch_info.gsbase, 0)?; in do_arch_prctl_64()
159 arch_info.fsbase = arg2; in do_arch_prctl_64()
162 unsafe { arch_info.restore_fsbase() } in do_arch_prctl_64()
166 arch_info.gsbase = arg2; in do_arch_prctl_64()
168 unsafe { arch_info.restore_gsbase() } in do_arch_prctl_64()
Dmod.rs329 let mut new_arch_guard = unsafe { new_pcb.arch_info() }; in copy_thread()
/DragonOS-0.1.9/kernel/src/process/
Dmod.rs414 prev_pcb.arch_info.force_unlock(); in switch_finish_hook()
415 next_pcb.arch_info.force_unlock(); in switch_finish_hook()
561 arch_info: SpinLock<ArchPCBInfo>, field
622 let arch_info = SpinLock::new(ArchPCBInfo::new(&kstack)); in do_create_pcb() localVariable
638 arch_info, in do_create_pcb()
651 pcb.arch_info in do_create_pcb()
738 return self.arch_info.lock_irqsave(); in arch_info_irqsave()
750 pub unsafe fn arch_info(&self) -> SpinLockGuard<ArchPCBInfo> { in arch_info() method
751 return self.arch_info.lock(); in arch_info()
Dfork.rs362 unsafe { pcb.arch_info().clone_from(&guard) }; in copy_process()
/DragonOS-0.1.9/kernel/src/arch/x86_64/ipc/
Dsignal.rs387 let mut arch_info = guard.arch_info_irqsave(); in restore_sigcontext() localVariable
390 *arch_info.cr2_mut() = self.cr2 as usize; in restore_sigcontext()
393 *arch_info.fp_state_mut() = self.reserved_for_x87_state.clone(); in restore_sigcontext()
394 arch_info.restore_fp_state(); in restore_sigcontext()