Home
last modified time | relevance | path

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

/DragonOS/kernel/src/process/
H A Dmod.rs1449 let stack_bottom_ptr = self.start_address().data() as *mut *const ProcessControlBlock; in set_pcb() localVariable
1452 if unlikely(unsafe { !(*stack_bottom_ptr).is_null() }) { in set_pcb()
1453 error!("kernel stack bottom is not null: {:p}", *stack_bottom_ptr); in set_pcb()
1458 *stack_bottom_ptr = p; in set_pcb()
1470 let stack_bottom_ptr = self.start_address().data() as *mut *const ProcessControlBlock; in clear_pcb() localVariable
1471 if unlikely(unsafe { (*stack_bottom_ptr).is_null() }) { in clear_pcb()
1476 let pcb_ptr: Weak<ProcessControlBlock> = Weak::from_raw(*stack_bottom_ptr); in clear_pcb()
1480 *stack_bottom_ptr = core::ptr::null(); in clear_pcb()