1 use super::kick_cpu; 2 3 #[no_mangle] rs_kick_cpu(cpu_id: usize) -> usize4pub extern "C" fn rs_kick_cpu(cpu_id: usize) -> usize { 5 return kick_cpu(cpu_id) 6 .map(|_| 0usize) 7 .unwrap_or_else(|e| e.to_posix_errno() as usize); 8 } 9 10 #[no_mangle] rs_smp_init_idle()11pub unsafe extern "C" fn rs_smp_init_idle() { 12 crate::smp::init_smp_idle_process(); 13 } 14