rcore-os / rCore-Tutorial-v3

Let's write an OS which can run on RISC-V in Rust from scratch!
https://rcore-os.github.io/rCore-Tutorial-Book-v3/index.html
GNU General Public License v3.0
1.58k stars 452 forks source link

请问ch4的lab中为什么会出现trap from kernel以及lab4相对ch4的调整是在哪里导致了sys_get_time的失效呢 #58

Closed hypocrasy closed 2 years ago

hypocrasy commented 2 years ago

image 我在sys_get_time函数中打印了一个字符串,但是在结果里会因为trap from kernel出错, image 请问这是什么原因呢