Closed china-zyy closed 3 years ago
在运行xv6-k210 os时,出现下面错误
$ make run platform=qemu [rustsbi] RustSBI version 0.1.1 .__ .____. ..__ __ | \ | | | | / | | / || \ | | | |) | | | | | | (-------| |----| (----| |_) || | | / | | | | \ \ | | \ \ | _ < | | | |\ \----.|--' |.----) | | | .----) | | |) || | | | `.| _/ |_/ |__| |___/ |__/ |__|
---| |----
| |_) || | | / | | | | \ \ | | \ \ | _ < | | | |\ \----.|
[rustsbi] Platform: QEMU (Version 0.1.0) [rustsbi] misa: RV64ACDFIMSU [rustsbi] mideleg: 0x222 [rustsbi] medeleg: 0xb1ab [rustsbi-dtb] Hart count: cluster0 with 2 cores [rustsbi] Kernel entry: 0x80200000 [rustsbi-panic] hart 0 panicked at 'invalid instruction, mepc: 0000000080200000, instruction: 0000000000000000', src/main.rs:459:17 [rustsbi-panic] system shutdown scheduled due to RustSBI panic
请问一下是哪里的问题呢,谢谢
0.2.0版本以上的rustsbi已经解决这个问题,请更新你的rustsbi。
在运行xv6-k210 os时,出现下面错误
$ make run platform=qemu [rustsbi] RustSBI version 0.1.1 .__ .____. ..__ __ | \ | | | | / | | / || \ | | | |) | | | | | | (----
---| |----
| (----| |_) || | | / | | | | \ \ | | \ \ | _ < | | | |\ \----.|
--' |.----) | | | .----) | | |) || | | | `.| _/ |_/ |__| |___/ |__/ |__|[rustsbi] Platform: QEMU (Version 0.1.0) [rustsbi] misa: RV64ACDFIMSU [rustsbi] mideleg: 0x222 [rustsbi] medeleg: 0xb1ab [rustsbi-dtb] Hart count: cluster0 with 2 cores [rustsbi] Kernel entry: 0x80200000 [rustsbi-panic] hart 0 panicked at 'invalid instruction, mepc: 0000000080200000, instruction: 0000000000000000', src/main.rs:459:17 [rustsbi-panic] system shutdown scheduled due to RustSBI panic
请问一下是哪里的问题呢,谢谢