mirror of
https://github.com/LearningOS/rust-based-os-comp2022.git
synced 2026-05-09 15:21:27 +08:00
udpate guide
This commit is contained in:
@@ -27,22 +27,29 @@
|
||||
|
||||
注:如果是本地的ubuntu中建立开发环境,可在shell中执行 ``make ubuntu_local_setenv`` 来自动安装配置开发环境(执行``sudo``需要root权限,仅需要执行一次)。
|
||||
|
||||
获取本章代码:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ git clone https://github.com/LearningOS/rust-based-os-comp2022.git
|
||||
$ cd rust-based-os-comp2022/
|
||||
$ make setupclassroom_test6 //注意:这一步很重要,是用于github classroom自动评测你的工作。这一步只需在首次克隆项目仓库时执行一次,以后一般就不用执行了,除非 .github/workflows/classroom.yml发生了变化。
|
||||
|
||||
|
||||
在 qemu 模拟器上运行本章代码参考框架:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
|
||||
$ git clone ``gitaddr of github-classroom-build-lab4``
|
||||
$ cd ``github-classroom-build-lab4``
|
||||
$ make setupclassroom_test6 //注意:这一步很重要,是用于github classroom自动评测你的工作。这一步只需在首次克隆项目仓库时执行一次,以后一般就不用执行了,除非 .github/workflows/classroom.yml发生了变化。
|
||||
$ cd os6-ref
|
||||
$ make run
|
||||
|
||||
.. note::
|
||||
|
||||
实验名称 :实验编号
|
||||
- lab0-0 : test1
|
||||
- lab0-1:test2
|
||||
- lab1:test3
|
||||
- lab2:test4
|
||||
- lab3:test5
|
||||
- lab4:test6
|
||||
- lab5:test8
|
||||
|
||||
内核初始化完成之后就会进入shell程序,在这里我们运行一下本章的测例 ``ch6b_filetest_simple`` :
|
||||
|
||||
.. code-block::
|
||||
|
||||
Reference in New Issue
Block a user