Home
last modified time | relevance | path

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

/DragonOS/kernel/src/smp/cpu/
H A Dmod.rs220 let cpu_state = self.cpuhp_state(cpu_id).state; in cpu_up() localVariable
224 cpu_state, in cpu_up()
228 if cpu_state >= target_state { in cpu_up()
233 let cpu_state = self.cpuhp_state(cpu_id).state; in cpu_up() localVariable
234 if cpu_state > CpuHpState::ThresholdBringUp { in cpu_up()
258 fn do_cpuhp_kick_ap(&self, cpu_state: &mut CpuHpCpuState) -> Result<(), SystemError> { in do_cpuhp_kick_ap()
259 let pcb = cpu_state.thread.as_ref().ok_or(SystemError::EINVAL)?; in do_cpuhp_kick_ap()
264 ProcessManager::wakeup(cpu_state.thread.as_ref().unwrap())?; in do_cpuhp_kick_ap()
266 CurrentSMPArch::start_cpu(cpu_id, cpu_state)?; in do_cpuhp_kick_ap()
268 self.wait_for_ap_thread(cpu_state, cpu_state.bringup); in do_cpuhp_kick_ap()
[all …]