Skip to content

Commit

Permalink
Fix SBI_SET_TIMER with latest rustsbi
Browse files Browse the repository at this point in the history
  • Loading branch information
ouuan committed Mar 9, 2024
1 parent 509e1a3 commit 4887a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/0setup-devel-env.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Qemu 模拟器安装
如果使用 Qemu8,你需要:

* 替换 ``bootloader/rustsbi-qemu.bin`` 为最新版 `在这里下载 <https://github.com/rustsbi/rustsbi-qemu/releases>`_ 后更名为 ``bootloader/rustsbi-qemu.bin`` 并替换同名文件即可
* 将 ``os/src/sbi.rs`` 中的常量 ``SBI_SHUTDOWN`` 的值替换为 ``const SBI_SHUTDOWN: usize = 0x53525354;``
* 将 ``os/src/sbi.rs`` 中的常量 ``SBI_SHUTDOWN`` 的值替换为 ``const SBI_SHUTDOWN: usize = 0x53525354;``,``SBI_SET_TIMER`` 的值替换为 ``const SBI_SET_TIMER: usize = 0x54494D45;``

.. attention::

Expand Down

0 comments on commit 4887a37

Please sign in to comment.