mirror of
https://github.com/panpaul/tiny_os
synced 2024-09-20 17:55:20 +08:00
Paul Pan
1d026d8053
1. initial riscv32 support 2. fix bug in table.rs: cur level order is reversed 3. introduce global kernel_{phys, virt}_to_{virt, phys} for address translating 4. remove unused riscv/mm 5. initial early_memory management through RamBlock 6. initial kernel space mapping support
9 lines
360 B
TOML
9 lines
360 B
TOML
[build]
|
|
target = "riscv64imac-unknown-none-elf"
|
|
|
|
[target.'cfg(all(target_arch = "riscv64", target_os = "none"))']
|
|
runner = "qemu-system-riscv64 -nographic -machine virt -serial mon:stdio -smp 1 -kernel "
|
|
|
|
[target.'cfg(all(target_arch = "riscv32", target_os = "none"))']
|
|
runner = "qemu-system-riscv32 -nographic -machine virt -serial mon:stdio -smp 1 -kernel "
|