Skip to content

Commit

Permalink
Fix log level of error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ouuan committed Mar 12, 2024
1 parent 509e1a3 commit 7097a40
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/chapter3/5exercise.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ ch3 中,我们的系统已经能够支持多个任务分时轮流运行,我
--------------------------------------------

1. 正确进入 U 态后,程序的特征还应有:使用 S 态特权指令,访问 S 态寄存器后会报错。
请同学们可以自行测试这些内容 (运行 `Rust 三个 bad 测例 (ch2b_bad_*.rs) <https://github.com/LearningOS/rCore-Tutorial-Test-2024S/tree/master/src/bin>`_ ,
注意在编译时至少需要指定 ``LOG=ERROR`` 才能观察到内核的报错信息) ,
请同学们可以自行测试这些内容(运行 `三个 bad 测例 (ch2b_bad_*.rs) <https://github.com/LearningOS/rCore-Tutorial-Test-2024S/tree/master/src/bin>`_ ),
描述程序出错行为,同时注意注明你使用的 sbi 及其版本。

2. 深入理解 `trap.S <https://github.com/LearningOS/rCore-Tutorial-Code-2024S/blob/ch3/os/src/trap/trap.S>`_
Expand Down

0 comments on commit 7097a40

Please sign in to comment.