Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/process/
H A Dmod.rs127 pub fn set_stack_base(&mut self, stack_base: VirtAddr) { in set_stack_base()
128 self.rbp = stack_base.data(); in set_stack_base()
273 let stack_base = VirtAddr::new(ptr.data() & (!(KernelStack::ALIGN - 1))); in arch_current_pcb() localVariable
276 let p = stack_base.data() as *const *const ProcessControlBlock; in arch_current_pcb()
/DragonOS/kernel/src/arch/riscv64/process/
H A Dmod.rs320 let stack_base = VirtAddr::new(ptr.data() & (!(KernelStack::ALIGN - 1))); in arch_current_pcb() localVariable
323 let p = stack_base.data() as *const *const ProcessControlBlock; in arch_current_pcb()