Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/riscv64/process/
H A Dmod.rs24 PROCESS_SWITCH_RESULT,
191 PROCESS_SWITCH_RESULT.as_mut().unwrap().get_mut().prev_pcb = Some(prev); in switch_process()
192 PROCESS_SWITCH_RESULT.as_mut().unwrap().get_mut().next_pcb = Some(next); in switch_process()
/DragonOS/kernel/src/arch/x86_64/process/
H A Dmod.rs22 KernelStack, ProcessControlBlock, ProcessFlags, ProcessManager, PROCESS_SWITCH_RESULT,
407 PROCESS_SWITCH_RESULT.as_mut().unwrap().get_mut().prev_pcb = Some(prev); in switch_process()
408 PROCESS_SWITCH_RESULT.as_mut().unwrap().get_mut().next_pcb = Some(next); in switch_process()
/DragonOS/kernel/src/process/
H A Dmod.rs88 pub static mut PROCESS_SWITCH_RESULT: Option<PerCpuVar<SwitchResult>> = None; variable
148 PROCESS_SWITCH_RESULT = Some(PerCpuVar::new(switch_res_vec).unwrap()); in init_switch_result()
467 let prev_pcb = PROCESS_SWITCH_RESULT in switch_finish_hook()
474 let next_pcb = PROCESS_SWITCH_RESULT in switch_finish_hook()