xref: /DragonOS/kernel/src/arch/riscv64/cpu.rs (revision 08a2ee408498b0db4c76c57b149f1cf047758f3c)
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