Skip to content

Commit

Permalink
Merge pull request #7 from ouuan/fix-sbi-timer
Browse files Browse the repository at this point in the history
Fix SBI_SET_TIMER with latest rustsbi
  • Loading branch information
tkf2019 authored Mar 18, 2024
2 parents 760a8a6 + 4887a37 commit 0c54919
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 @@ -132,7 +132,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 0c54919

Please sign in to comment.