xref: /DragonOS/kernel/src/arch/riscv64/cpu.rs (revision 83ed0ebc293d5a10245089f627f52770fd5b9dd4)
1 /// 获取当前cpu的id
2 #[inline]
3 pub fn current_cpu_id() -> u32 {
4     unimplemented!("RiscV64 current_cpu_id")
5 }
6 
7 /// 重置cpu
8 pub unsafe fn cpu_reset() -> ! {
9     unimplemented!("RiscV64 cpu_reset")
10 }
11