xref: /DragonOS/kernel/src/arch/riscv64/smp/mod.rs (revision 8cb2e9b344230227fe5f3ab3ebeb2522f1c5e289)
1 use system_error::SystemError;
2 
3 use crate::smp::{
4     cpu::{CpuHpCpuState, ProcessorId},
5     SMPArch,
6 };
7 
8 pub struct RiscV64SMPArch;
9 
10 impl SMPArch for RiscV64SMPArch {
11     #[inline(never)]
12     fn prepare_cpus() -> Result<(), SystemError> {
13         todo!()
14     }
15 
16     fn start_cpu(cpu_id: ProcessorId, hp_state: &CpuHpCpuState) -> Result<(), SystemError> {
17         todo!()
18     }
19 }
20