1*e2841179SLoGin use super::cpu::ProcessorId; 2*e2841179SLoGin 366f67c6aSlogin /// @brief 获取当前的cpu id 466f67c6aSlogin #[inline] smp_get_processor_id() -> ProcessorId5*e2841179SLoGinpub fn smp_get_processor_id() -> ProcessorId { 6bacd691cSlogin return crate::arch::cpu::current_cpu_id(); 766f67c6aSlogin } 8