Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/process/
H A Dsyscall.rs71 let mut arch_info = pcb.arch_info_irqsave(); in do_arch_prctl_64() localVariable
74 unsafe { arch_info.save_fsbase() }; in do_arch_prctl_64()
80 writer.copy_one_to_user(&arch_info.fsbase, 0)?; in do_arch_prctl_64()
83 unsafe { arch_info.save_gsbase() }; in do_arch_prctl_64()
89 writer.copy_one_to_user(&arch_info.gsbase, 0)?; in do_arch_prctl_64()
92 arch_info.fsbase = arg2; in do_arch_prctl_64()
95 unsafe { arch_info.restore_fsbase() } in do_arch_prctl_64()
99 arch_info.gsbase = arg2; in do_arch_prctl_64()
101 unsafe { arch_info.restore_gsbase() } in do_arch_prctl_64()
H A Dmod.rs312 let mut new_arch_guard = unsafe { new_pcb.arch_info() }; in copy_thread()
/DragonOS/kernel/src/process/
H A Dmod.rs485 prev_pcb.arch_info.force_unlock(); in switch_finish_hook()
488 next_pcb.arch_info.force_unlock(); in switch_finish_hook()
634 arch_info: SpinLock<ArchPCBInfo>, field
726 let arch_info = SpinLock::new(ArchPCBInfo::new(&kstack)); in do_create_pcb() localVariable
742 arch_info, in do_create_pcb()
762 pcb.arch_info in do_create_pcb()
853 return self.arch_info.lock_irqsave(); in arch_info_irqsave()
865 pub unsafe fn arch_info(&self) -> SpinLockGuard<ArchPCBInfo> { in arch_info() method
866 return self.arch_info.lock(); in arch_info()
H A Dfork.rs398 unsafe { pcb.arch_info().clone_from(&guard) }; in copy_process()
/DragonOS/kernel/src/arch/x86_64/ipc/
H A 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; in restore_sigcontext()
394 arch_info.restore_fp_state(); in restore_sigcontext()
/DragonOS/kernel/src/arch/riscv64/process/
H A Dmod.rs114 let mut new_arch_guard = unsafe { new_pcb.arch_info() }; in copy_thread()