
Add rcore_backtrace crate and use:
use rcore_proc::thread::spawn; spawn(|| println!("Hello from kernel thread"); ); rcore documentation
You need QEMU version 4.2 or higher to emulate the RISC-V hardware. spawn(|| println!("Hello from kernel thread")
Add rcore_backtrace crate and use:
use rcore_proc::thread::spawn; spawn(|| println!("Hello from kernel thread"); );
You need QEMU version 4.2 or higher to emulate the RISC-V hardware.