Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/sched/
Dcfs.rs46 idle_pcb: *mut process_control_block, field
50 pub fn new(idle_pcb: *mut process_control_block) -> CFSQueue { in new()
55 idle_pcb: idle_pcb, in new()
85 res = unsafe { self.idle_pcb.as_mut().unwrap() }; in dequeue()
127 result.cpu_queue[0].idle_pcb = unsafe { &mut initial_proc_union.pcb }; in new()
172 self.cpu_queue[cpu_id].idle_pcb = pcb; in set_cpu_idle()