1 use system_error::SystemError; 2 3 use crate::{ 4 kwarn, 5 smp::{ 6 cpu::{CpuHpCpuState, ProcessorId}, 7 SMPArch, 8 }, 9 }; 10 11 pub struct RiscV64SMPArch; 12 13 impl SMPArch for RiscV64SMPArch { 14 #[inline(never)] 15 fn prepare_cpus() -> Result<(), SystemError> { 16 kwarn!("RiscV64SMPArch::prepare_cpus() is not implemented"); 17 Ok(()) 18 } 19 20 fn start_cpu(cpu_id: ProcessorId, hp_state: &CpuHpCpuState) -> Result<(), SystemError> { 21 kwarn!("RiscV64SMPArch::start_cpu() is not implemented"); 22 Ok(()) 23 } 24 } 25