[memory] kernel_base = "0x80200000" heap_size = "32MB" [scheduler] quantum_ms = 10 priority_boost_ms = 200
rcore::backtrace::print(); Run unit tests inside kernel:
make debug # In another terminal: riscv64-unknown-elf-gdb target/rcore.elf (gdb) target remote :1234 (gdb) b handle_trap (gdb) c Add rcore_backtrace crate and use:
make test Integration test (user programs):
A: Add to syscall.rs , assign a new ID, and update the handler match arm.
A: Yes, on SiFive HiFive1 (RISC-V) or Raspberry Pi (experimental).
Assuming is an educational OS/kernel written in Rust, here is the documentation content: rCore Documentation Overview rCore is a minimal, modular operating system kernel written in Rust , designed for educational purposes and embedded systems. It demonstrates core OS concepts including memory management, process scheduling, interrupts, and file systems—while leveraging Rust’s memory safety and concurrency features.
[fs] disk_image = "disk.img" max_files = 64 Logging Enable debug output: