Home
last modified time | relevance | path

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

/DragonOS/kernel/src/smp/cpu/
H A Dmod.rs31 pub enum CpuHpState { enum
45 state: CpuHpState,
47 target_state: CpuHpState,
60 state: CpuHpState::Offline, in new()
61 target_state: CpuHpState::Offline, in new()
176 target_state: CpuHpState, in set_cpuhp_state() argument
177 ) -> CpuHpState { in set_cpuhp_state() argument
189 unsafe { self.set_cpuhp_state(cpu_id, CpuHpState::Online) }; in set_online_cpu()
207 if let Err(e) = self.cpu_up(cpu_id, CpuHpState::Online) { in bringup_nonboot_cpus()
215 fn cpu_up(&self, cpu_id: ProcessorId, target_state: CpuHpState) -> Result<(), SystemError> { in cpu_up()
[all …]