Skip to content

Commit 4564683

Browse files
committed
update checking scripts
1 parent aa6710f commit 4564683

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+244
-123
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22

33
由于本文档还不稳定,有时会有更新,更新信息会第一时间放在这里。由于文档不稳定引起的问题不会导致扣分。
44

5-
> **[info] 最后更新日期:2020-03-06**
5+
> **[info] 最后更新日期:2020-03-07**
6+
>
7+
> **2020-03-07**
8+
>
9+
> 将 rCore_tutorial 的 master 分支更新到第九章第四小节。
10+
>
11+
> 对于 lab2/3/5/6/8 以及即将完成的 lab7 新增了统一的评测脚本以及对应的使用说明,可以不必从 master 分支开始实验而是按照 tutorial 从零开始,只要评测脚本能得出正确的结果即会被认可。lab2/3/5/6/8 的评测方式以及测试程序的说明也在其自身的页面中更新了。
12+
>
13+
> 对于 lab2/3,不再统一使用一个 ``init.rs`` 而是拆分为两个内核态测试程序,移除了其中多余的初始化代码,只依赖中断和内存管理。
614
>
715
> **2020-03-06**
816
>
@@ -99,6 +107,4 @@ SUM: 288 613 25 3244
99107

100108
对于章节内容有任何疑问及建议,请在对应页面最下面的评论区中发表观点。注意需要用 Github ID 登录后才能评论。
101109

102-
##
103-
104110
好了,那就让我们正式开始!

chapter9/part4.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ pub fn sys_write(fd: usize, base: *const u8, len: usize) -> i64 {
102102

103103
```diff
104104
// usr/rust/src/io.rs
105+
+pub const STDOUT: usize = 1;
105106
pub fn putchar(ch: char) {
106107
- sys_write(ch as u8);
107108
+ sys_write(STDOUT, &ch as *const char as *const u8, 1);

docs/appendix/inline_asm.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
13101310
<script>
13111311
var gitbook = gitbook || [];
13121312
gitbook.push(function() {
1313-
gitbook.page.hasChanged({"page":{"title":"内联汇编","level":"1.14.1","depth":2,"next":{"title":"安装 rust","level":"1.14.2","depth":2,"path":"appendix/install_rust.md","ref":"appendix/install_rust.md","articles":[]},"previous":{"title":"附录","level":"1.14","depth":1,"path":"appendix/introduction.md","ref":"./appendix/introduction.md","articles":[{"title":"内联汇编","level":"1.14.1","depth":2,"path":"appendix/inline_asm.md","ref":"appendix/inline_asm.md","articles":[]},{"title":"安装 rust","level":"1.14.2","depth":2,"path":"appendix/install_rust.md","ref":"appendix/install_rust.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["hide-element","chapter-fold","katex","alerts","emphasize","-highlight","prism","localized-footer","mermaid-gb3"],"pluginsConfig":{"chapter-fold":{},"prism":{"css":["prismjs/themes/prism-tomorrow.css"]},"emphasize":{},"search":{},"localized-footer":{"filename":"extensions/comment/gitalk.html","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"hide-element":{"elements":[".gitbook-link"]},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"alerts":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"appendix/inline_asm.md","mtime":"2020-02-19T11:36:27.646Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-06T11:39:29.024Z"},"basePath":"..","book":{"language":""}});
1313+
gitbook.page.hasChanged({"page":{"title":"内联汇编","level":"1.14.1","depth":2,"next":{"title":"安装 rust","level":"1.14.2","depth":2,"path":"appendix/install_rust.md","ref":"appendix/install_rust.md","articles":[]},"previous":{"title":"附录","level":"1.14","depth":1,"path":"appendix/introduction.md","ref":"./appendix/introduction.md","articles":[{"title":"内联汇编","level":"1.14.1","depth":2,"path":"appendix/inline_asm.md","ref":"appendix/inline_asm.md","articles":[]},{"title":"安装 rust","level":"1.14.2","depth":2,"path":"appendix/install_rust.md","ref":"appendix/install_rust.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["hide-element","chapter-fold","katex","alerts","emphasize","-highlight","prism","localized-footer","mermaid-gb3"],"pluginsConfig":{"chapter-fold":{},"prism":{"css":["prismjs/themes/prism-tomorrow.css"]},"emphasize":{},"search":{},"localized-footer":{"filename":"extensions/comment/gitalk.html","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"hide-element":{"elements":[".gitbook-link"]},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"alerts":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"appendix/inline_asm.md","mtime":"2020-02-19T11:36:27.646Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-07T08:04:56.731Z"},"basePath":"..","book":{"language":""}});
13141314
});
13151315
</script>
13161316
</div>

docs/appendix/install_rust.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
12641264
<script>
12651265
var gitbook = gitbook || [];
12661266
gitbook.push(function() {
1267-
gitbook.page.hasChanged({"page":{"title":"安装 rust","level":"1.14.2","depth":2,"previous":{"title":"内联汇编","level":"1.14.1","depth":2,"path":"appendix/inline_asm.md","ref":"appendix/inline_asm.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["hide-element","chapter-fold","katex","alerts","emphasize","-highlight","prism","localized-footer","mermaid-gb3"],"pluginsConfig":{"chapter-fold":{},"prism":{"css":["prismjs/themes/prism-tomorrow.css"]},"emphasize":{},"search":{},"localized-footer":{"filename":"extensions/comment/gitalk.html","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"hide-element":{"elements":[".gitbook-link"]},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"alerts":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"appendix/install_rust.md","mtime":"2020-02-20T16:04:17.186Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-06T11:39:29.024Z"},"basePath":"..","book":{"language":""}});
1267+
gitbook.page.hasChanged({"page":{"title":"安装 rust","level":"1.14.2","depth":2,"previous":{"title":"内联汇编","level":"1.14.1","depth":2,"path":"appendix/inline_asm.md","ref":"appendix/inline_asm.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["hide-element","chapter-fold","katex","alerts","emphasize","-highlight","prism","localized-footer","mermaid-gb3"],"pluginsConfig":{"chapter-fold":{},"prism":{"css":["prismjs/themes/prism-tomorrow.css"]},"emphasize":{},"search":{},"localized-footer":{"filename":"extensions/comment/gitalk.html","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"hide-element":{"elements":[".gitbook-link"]},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"alerts":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"appendix/install_rust.md","mtime":"2020-02-20T16:04:17.186Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-07T08:04:56.731Z"},"basePath":"..","book":{"language":""}});
12681268
});
12691269
</script>
12701270
</div>

docs/appendix/introduction.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
12541254
<script>
12551255
var gitbook = gitbook || [];
12561256
gitbook.push(function() {
1257-
gitbook.page.hasChanged({"page":{"title":"附录","level":"1.14","depth":1,"next":{"title":"内联汇编","level":"1.14.1","depth":2,"path":"appendix/inline_asm.md","ref":"appendix/inline_asm.md","articles":[]},"previous":{"title":"8. 文件系统","level":"1.13.8","depth":2,"path":"exercise/part8.md","ref":"./exercise/part8.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["hide-element","chapter-fold","katex","alerts","emphasize","-highlight","prism","localized-footer","mermaid-gb3"],"pluginsConfig":{"chapter-fold":{},"prism":{"css":["prismjs/themes/prism-tomorrow.css"]},"emphasize":{},"search":{},"localized-footer":{"filename":"extensions/comment/gitalk.html","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"hide-element":{"elements":[".gitbook-link"]},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"alerts":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"appendix/introduction.md","mtime":"2020-02-20T16:04:17.186Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-06T11:39:29.024Z"},"basePath":"..","book":{"language":""}});
1257+
gitbook.page.hasChanged({"page":{"title":"附录","level":"1.14","depth":1,"next":{"title":"内联汇编","level":"1.14.1","depth":2,"path":"appendix/inline_asm.md","ref":"appendix/inline_asm.md","articles":[]},"previous":{"title":"8. 文件系统","level":"1.13.8","depth":2,"path":"exercise/part8.md","ref":"./exercise/part8.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["hide-element","chapter-fold","katex","alerts","emphasize","-highlight","prism","localized-footer","mermaid-gb3"],"pluginsConfig":{"chapter-fold":{},"prism":{"css":["prismjs/themes/prism-tomorrow.css"]},"emphasize":{},"search":{},"localized-footer":{"filename":"extensions/comment/gitalk.html","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"hide-element":{"elements":[".gitbook-link"]},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"alerts":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"appendix/introduction.md","mtime":"2020-02-20T16:04:17.186Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-07T08:04:56.731Z"},"basePath":"..","book":{"language":""}});
12581258
});
12591259
</script>
12601260
</div>

docs/chapter0/introduction.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
13311331
<script>
13321332
var gitbook = gitbook || [];
13331333
gitbook.push(function() {
1334-
gitbook.page.hasChanged({"page":{"title":"第零章:实验环境说明","level":"1.2","depth":1,"next":{"title":"第一章:独立式可执行程序","level":"1.3","depth":1,"path":"chapter1/introduction.md","ref":"chapter1/introduction.md","articles":[{"title":"[安装 nightly rust]","level":"1.3.1","depth":2,"path":"chapter1/part1.md","ref":"chapter1/part1.md","articles":[]},{"title":"使用包管理器 cargo 创建 rust binary 项目","level":"1.3.2","depth":2,"path":"chapter1/part2.md","ref":"chapter1/part2.md","articles":[]},{"title":"移除标准库依赖","level":"1.3.3","depth":2,"path":"chapter1/part3.md","ref":"chapter1/part3.md","articles":[]},{"title":"[移除 runtime 依赖]","level":"1.3.4","depth":2,"path":"chapter1/part4.md","ref":"chapter1/part4.md","articles":[]},{"title":"总结与展望","level":"1.3.5","depth":2,"path":"chapter1/part5.md","ref":"chapter1/part5.md","articles":[]}]},"previous":{"title":"Introduction","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["hide-element","chapter-fold","katex","alerts","emphasize","-highlight","prism","localized-footer","mermaid-gb3"],"pluginsConfig":{"chapter-fold":{},"prism":{"css":["prismjs/themes/prism-tomorrow.css"]},"emphasize":{},"search":{},"localized-footer":{"filename":"extensions/comment/gitalk.html","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"hide-element":{"elements":[".gitbook-link"]},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"alerts":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"chapter0/introduction.md","mtime":"2020-02-19T11:36:27.646Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-06T11:39:29.024Z"},"basePath":"..","book":{"language":""}});
1334+
gitbook.page.hasChanged({"page":{"title":"第零章:实验环境说明","level":"1.2","depth":1,"next":{"title":"第一章:独立式可执行程序","level":"1.3","depth":1,"path":"chapter1/introduction.md","ref":"chapter1/introduction.md","articles":[{"title":"[安装 nightly rust]","level":"1.3.1","depth":2,"path":"chapter1/part1.md","ref":"chapter1/part1.md","articles":[]},{"title":"使用包管理器 cargo 创建 rust binary 项目","level":"1.3.2","depth":2,"path":"chapter1/part2.md","ref":"chapter1/part2.md","articles":[]},{"title":"移除标准库依赖","level":"1.3.3","depth":2,"path":"chapter1/part3.md","ref":"chapter1/part3.md","articles":[]},{"title":"[移除 runtime 依赖]","level":"1.3.4","depth":2,"path":"chapter1/part4.md","ref":"chapter1/part4.md","articles":[]},{"title":"总结与展望","level":"1.3.5","depth":2,"path":"chapter1/part5.md","ref":"chapter1/part5.md","articles":[]}]},"previous":{"title":"Introduction","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["hide-element","chapter-fold","katex","alerts","emphasize","-highlight","prism","localized-footer","mermaid-gb3"],"pluginsConfig":{"chapter-fold":{},"prism":{"css":["prismjs/themes/prism-tomorrow.css"]},"emphasize":{},"search":{},"localized-footer":{"filename":"extensions/comment/gitalk.html","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"hide-element":{"elements":[".gitbook-link"]},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"alerts":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"chapter0/introduction.md","mtime":"2020-02-19T11:36:27.646Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-07T08:04:56.731Z"},"basePath":"..","book":{"language":""}});
13351335
});
13361336
</script>
13371337
</div>

0 commit comments

Comments
 (0)