xref: /DragonOS/kernel/src/smp/core.rs (revision 52da9a59374752b4d01907b052135a0d317781dd)
1 /// @brief 获取当前的cpu id
2 #[inline]
3 pub fn smp_get_processor_id() -> u32 {
4     return crate::arch::cpu::current_cpu_id();
5 }
6