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