Disable multi-CPU.

toolchain_update
Yuhao Zhou 6 years ago
parent bb374ba4bd
commit 1f8b73744c

@ -42,7 +42,7 @@ pub extern fn rust_main() -> ! {
// while unsafe { !cpu::has_started(hartid) } { } // while unsafe { !cpu::has_started(hartid) } { }
// println!("Hello RISCV! in hart {}, dtb @ {:#x}", hartid, dtb); // println!("Hello RISCV! in hart {}, dtb @ {:#x}", hartid, dtb);
// others_main(); // others_main();
// loop {} loop {}
} }
unsafe { memory::clear_bss(); } unsafe { memory::clear_bss(); }

Loading…
Cancel
Save