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