Home
last modified time | relevance | path

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

/DragonOS/kernel/src/process/
H A Dc_adapter.rs14 .kernel_stack() in rs_get_idle_stack_top()
H A Dmod.rs626 kernel_stack: RwLock<KernelStack>, field
738 kernel_stack: RwLock::new(kstack), in do_create_pcb()
774 pcb.kernel_stack in do_create_pcb()
870 pub fn kernel_stack(&self) -> RwLockReadGuard<KernelStack> { in kernel_stack() method
871 return self.kernel_stack.read(); in kernel_stack()
875 self.kernel_stack.force_get_ref() in kernel_stack_force_ref()
881 return self.kernel_stack.write(); in kernel_stack_mut()
/DragonOS/kernel/src/arch/riscv64/process/
H A Dmod.rs57 current_pcb.kernel_stack().stack_max_address().data() - core::mem::size_of::<TrapFrame>(), in arch_switch_to_user()
115 let kernel_stack_guard = new_pcb.kernel_stack(); in copy_thread()
216 let mut sp = task.kernel_stack().stack_max_address().data(); in task_trapframe()
/DragonOS/kernel/src/arch/x86_64/process/
H A Dmod.rs313 let kernel_stack_guard = new_pcb.kernel_stack(); in copy_thread()
405 next.kernel_stack().stack_max_address().data() as u64, in switch_process()
515 current_pcb.kernel_stack().stack_max_address().data() - core::mem::size_of::<TrapFrame>(), in arch_switch_to_user()
/DragonOS/kernel/src/arch/x86_64/smp/
H A Dmod.rs85 current_idle.kernel_stack().stack_max_address().data() as u64, in smp_ap_start_stage1()