Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/sched/
Dsyscall.rs25 let next_pcb = pcb.unwrap(); in sched() localVariable
28 if current_pcb.pid() != next_pcb.pid() { in sched()
29 CPU_EXECUTING.set(smp_get_processor_id(), next_pcb.pid()); in sched()
30 unsafe { ProcessManager::switch_process(current_pcb, next_pcb) }; in sched()
/DragonOS-0.1.9/kernel/src/process/
Dmod.rs83 pub next_pcb: Option<Arc<ProcessControlBlock>>, field
90 next_pcb: None, in new()
405 let next_pcb = SWITCH_RESULT in switch_finish_hook() localVariable
409 .next_pcb in switch_finish_hook()
415 next_pcb.arch_info.force_unlock(); in switch_finish_hook()
/DragonOS-0.1.9/kernel/src/arch/x86_64/process/
Dmod.rs425 SWITCH_RESULT.as_mut().unwrap().get_mut().next_pcb = Some(next); in switch_process()