Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
rcore-os
RCore Tutorial V3
提交
ae56d068
R
RCore Tutorial V3
项目概览
rcore-os
/
RCore Tutorial V3
上一次同步 1 年多
通知
15
Star
793
Fork
260
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
4
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
RCore Tutorial V3
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
4
Issue
4
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
ae56d068
编写于
6月 23, 2022
作者:
chyyuu1972
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update README
上级
ba145e0d
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
17 addition
and
23 deletion
+17
-23
README.md
README.md
+17
-23
未找到文件。
README.md
浏览文件 @
ae56d068
# rCore-Tutorial-v3
rCore-Tutorial version 3.
5
. See the
[
Documentation in Chinese
](
https://rcore-os.github.io/rCore-Tutorial-Book-v3/
)
.
rCore-Tutorial version 3.
6
. See the
[
Documentation in Chinese
](
https://rcore-os.github.io/rCore-Tutorial-Book-v3/
)
.
rCore-Tutorial API Docs. See the
[
API Docs of Ten OSes
](
#OS-API-DOCS
)
...
...
@@ -8,7 +8,7 @@ If you don't know Rust Language and try to learn it, please visit [Rust Learnin
Official QQ group number: 735045051
## news
-
2
5/01
/2022: Version 3.6.0 is on the way! Now we directly update the code on chX branches, please periodically check if there are any updates.
-
2
3/06
/2022: Version 3.6.0 is on the way! Now we directly update the code on chX branches, please periodically check if there are any updates.
## Overview
...
...
@@ -44,7 +44,7 @@ $ rustup component add rust-src
### Install Qemu
Here we manually compile and install Qemu
5
.0.0. For example, on Ubuntu 18.04:
Here we manually compile and install Qemu
7
.0.0. For example, on Ubuntu 18.04:
```
sh
# install dependency packages
...
...
@@ -52,10 +52,10 @@ $ sudo apt install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev l
gawk build-essential bison flex texinfo gperf libtool patchutils bc
\
zlib1g-dev libexpat-dev pkg-config libglib2.0-dev libpixman-1-dev git tmux python3 python3-pip
# download Qemu source code
$
wget https://download.qemu.org/qemu-
5
.0.0.tar.xz
# extract to qemu-
5
.0.0/
$
tar
xvJf qemu-
5
.0.0.tar.xz
$
cd
qemu-
5
.0.0
$
wget https://download.qemu.org/qemu-
7
.0.0.tar.xz
# extract to qemu-
7
.0.0/
$
tar
xvJf qemu-
7
.0.0.tar.xz
$
cd
qemu-
7
.0.0
# build
$
./configure
--target-list
=
riscv64-softmmu,riscv64-linux-user
$
make
-j
$(
nproc
)
...
...
@@ -64,9 +64,9 @@ $ make -j$(nproc)
Then, add following contents to
`~/.bashrc`
(please adjust these paths according to your environment):
```
export PATH=$PATH:/home/shinbokuow/Downloads/built/qemu-
5
.0.0
export PATH=$PATH:/home/shinbokuow/Downloads/built/qemu-
5
.0.0/riscv64-softmmu
export PATH=$PATH:/home/shinbokuow/Downloads/built/qemu-
5
.0.0/riscv64-linux-user
export PATH=$PATH:/home/shinbokuow/Downloads/built/qemu-
7
.0.0
export PATH=$PATH:/home/shinbokuow/Downloads/built/qemu-
7
.0.0/riscv64-softmmu
export PATH=$PATH:/home/shinbokuow/Downloads/built/qemu-
7
.0.0/riscv64-linux-user
```
Finally, update the current shell:
...
...
@@ -79,7 +79,7 @@ Now we can check the version of Qemu:
```
sh
$
qemu-system-riscv64
--version
QEMU emulator version
5
.0.0
QEMU emulator version
7
.0.0
Copyright
(
c
)
2003-2020 Fabrice Bellard and the QEMU Project developers
```
...
...
@@ -251,13 +251,9 @@ The API Docs for Ten OS
## Working in progress
Our first release 3.
5.0 (chapter 1-7) has been published
.
Our first release 3.
6.0 (chapter 1-9) has been published, and we are still working on it
.
There will be 9 chapters in our next release 3.6.0, where 2 new chapters will be added:
*
chapter 8: synchronization on a uniprocessor
*
chapter 9: I/O devices
Current version is 3.6.0-alpha.1 and we are still working on it.
*
chapter 9: need more descripts about different I/O devices
Here are the updates since 3.5.0:
...
...
@@ -279,18 +275,16 @@ Here are the updates since 3.5.0:
*
[x] switch the code of chapter 6 and chapter 7
*
[x] support signal mechanism in chapter 7/8(only works for apps with a single thread)
*
[x] Add boards/ directory and support rustdoc, for example you can use
`cargo doc --no-deps --open`
to view the documentation of a crate
*
[x] code of chapter 9: device drivers based on interrupts, including UART, block, keyboard, mouse, gpu devices
*
[x] add CI autotest and doc in github
### Todo(High priority)
*
[ ] review documentation, current progress: 5/9
*
[ ] support user-level sync primitives in chapter 8
*
[ ] code of chapter 9: device drivers based on interrupts, including UART and block devices
*
[ ] review documentation, current progress: 8/9
*
[ ] use old fs image optionally, do not always rebuild the image
*
[ ] add new system calls: getdents64/fstat
*
[ ] shell functionality improvement(to be continued...)
*
[ ] give every non-zero process exit code an unique and clear error type
*
[ ] effective error handling of mm module
*
[ ] add more os functions for understanding os conecpts and principles
### Todo(Low priority)
*
[ ] rewrite practice doc and remove some inproper questions
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录