We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96b8f27 commit 011b34dCopy full SHA for 011b34d
src/arch/riscv/kernel/start.rs
@@ -1,7 +1,8 @@
1
-use core::arch::asm;
2
-
+#[cfg(not(feature = "smp"))]
+use crate::arch::riscv::kernel::processor;
3
use crate::arch::riscv::kernel::{BootInfo, BOOTINFO_MAGIC_NUMBER, BOOT_INFO};
4
use crate::KERNEL_STACK_SIZE;
5
+use core::arch::asm;
6
7
//static mut BOOT_STACK: [u8; KERNEL_STACK_SIZE] = [0; KERNEL_STACK_SIZE];
8
0 commit comments