This commit is contained in:
chyyuu
2022-07-03 04:55:19 +00:00
parent c8083d96d2
commit cf91b6bffb
19 changed files with 264 additions and 60 deletions

View File

@@ -320,17 +320,25 @@
</div>
<div class="section" id="id3">
<h2>实践体验<a class="headerlink" href="#id3" title="永久链接至标题"></a></h2>
<p>获取本章代码:</p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>git clone https://github.com/LearningOS/rust-based-os-comp2022.git
<span class="gp">$ </span><span class="nb">cd</span> rust-based-os-comp2022/
<span class="gp">$ </span>make setupclassroom_test5 //注意:这一步很重要,是用于github classroom自动评测你的工作。这一步只需在首次克隆项目仓库时执行一次,以后一般就不用执行了,除非 .github/workflows/classroom.yml发生了变化。
</pre></div>
</div>
<p>在 qemu 模拟器上运行`lab3(os5)参考框架: &lt;<a class="reference external" href="https://github.com/LearningOS/rust-based-os-comp2022/tree/main/os5-ref">https://github.com/LearningOS/rust-based-os-comp2022/tree/main/os5-ref</a>&gt;`_ :</p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span><span class="nb">cd</span> os5-ref
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>git clone <span class="sb">``</span>gitaddr of github-classroom-build-lab3<span class="sb">``</span>
<span class="gp">$ </span><span class="nb">cd</span> <span class="sb">``</span>github-classroom-build-lab3<span class="sb">``</span>
<span class="gp">$ </span>make setupclassroom_test5 //注意:这一步很重要,是用于github classroom自动评测你的工作。这一步只需在首次克隆项目仓库时执行一次,以后一般就不用执行了,除非 .github/workflows/classroom.yml发生了变化。
<span class="gp">$ </span><span class="nb">cd</span> os5-ref
<span class="gp">$ </span>make run
</pre></div>
</div>
<div class="admonition note">
<p class="admonition-title">注解</p>
<p>实验名称 :实验编号
- lab0-0 : test1
- lab0-1:test2
- lab1:test3
- lab2:test4
- lab3:test5
- lab4:test6
- lab5:test8</p>
</div>
<p>待内核初始化完毕之后,将在屏幕上打印可用的应用列表并进入shell程序:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>[rustsbi] RustSBI version 0.2.0-alpha.4
.______ __ __ _______.___________. _______..______ __