Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 32f6e95

Browse files
committed
移除文档,添加 readme
1 parent 041c87f commit 32f6e95

Some content is hidden

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

90 files changed

+2
-5539
lines changed

README.md

Lines changed: 2 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,3 @@
1-
# rCore-Tutorial V3(开发中)
1+
这是实验三题目**页面置换**需要用到的代码框架,基于全部六部分完成后的操作系统。
22

3-
[![Actions Status](https://github.com/rcore-os/rCore-Tutorial/workflows/CI/badge.svg?branch=master)](https://github.com/rcore-os/rCore-Tutorial/actions)
4-
5-
本教学仓库是继 [rCore_tutorial V2](https://rcore-os.github.io/rCore_tutorial_doc/) 后重构的 V3 版本。
6-
7-
本文档的目标主要针对「做实验的同学」,我们会对每章结束后提供完成的代码,你的练习题只需要基于我们给出的版本上增量实现即可,不需要重新按照教程写一遍。
8-
9-
而对想完整实现一个 rCore 的同学来说,我们的文档可能不太友好。因为在开发过程中,我们需要对清晰和全面做很多的权衡和考虑、需要省略掉大量语法层面而 OS 无关的代码来带来更多的可读性和精简性,所以想参考本文档并完整实现同学可能不会有从头复制到尾的流畅(这样的做法也不是学习的初衷),可能需要自己有一些完整的认识和思考。
10-
11-
另外,如果你觉得字体大小和样式不舒服,可以通过 GitBook 上方的按钮调节。
12-
13-
## 仓库目录
14-
15-
- `docs/`:教学实验指导分实验内容和开发规范
16-
- `notes/`:开题报告和若干讨论
17-
- `os/`:操作系统代码
18-
- `user/`:用户态代码
19-
- `SUMMARY.md`:GitBook 目录页
20-
- `book.json`:GitBook 配置文件
21-
- `rust-toolchain`:限定 Rust 工具链版本
22-
- `deploy.sh`:自动部署脚本
23-
<!-- Rust 工具链版本需要根据时间更新 -->
24-
25-
## 实验指导
26-
27-
基于 GitBook,目前已经部署到了 [GitHub Pages](https://rcore-os.github.io/rCore-Tutorial-deploy/) 上面。
28-
29-
### 文档本地使用方法
30-
31-
<!-- 下面的代码不再使用标签,因为也同时会渲染到 GitHub 的项目首页 -->
32-
```bash
33-
npm install -g gitbook-cli
34-
gitbook install
35-
gitbook serve
36-
```
37-
38-
## 代码
39-
40-
### 操作系统代码
41-
本项目基于 cargo 和 make 等工具,在根目录通过 `make run` 命令即可运行代码,更具体的细节请参见 `Makefile``os/Makefile` 以及 `user/Makefile`
42-
43-
### 参考和感谢
44-
45-
本文档和代码部分参考了:
46-
- [rCore](https://github.com/rcore-os/rCore)
47-
- [zCore](https://github.com/rcore-os/zCore)
48-
- [rCore_tutorial V2](https://rcore-os.github.io/rCore_tutorial_doc/)
49-
- [使用Rust编写操作系统](https://github.com/rustcc/writing-an-os-in-rust)
50-
51-
在此对仓库的开发和维护者表示感谢,同时也感谢很多在本项目开发中一起讨论和勘误的老师和同学们。
52-
53-
<!-- TODO LICENSE -->
3+
你只需要在 `os/src/memory/mapping/swapper.rs` 中实现替代的页面置换算法,并(可选)在 `os/src/main.rs` 中修改测试线程。

SUMMARY.md

Lines changed: 0 additions & 84 deletions
This file was deleted.

book.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

deploy.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs/format/code.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

docs/format/doc.md

Lines changed: 0 additions & 100 deletions
This file was deleted.

docs/format/partition.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/lab-0/guide/intro.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/lab-0/guide/part-1.md

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)