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