Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update 第三阶段 #481

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,12 @@ tags:

也是得益于训练营阶段对 rcore 代码深入学习的经历,让我们在两周不到的时间里,完全原创地完成了操作系统比赛初赛的赛题。接下来是复赛,我们打算继续基于初赛的代码,加入虚拟文件系统、无栈协程等特性,为复赛做好准备!

## 第三阶段

第三阶段我选择了项目二《ArceOS 宏内核》,原因是我正在参加今年的计算机系统能力大赛(操作系统内核实现赛道),正好项目二和我们的比赛内容较为贴近,可以相互之间参考与借鉴一下。

ArceOS 是 unikernel。其特点是模块组件化,这样在构建操作系统镜像的时候,就可以选择性地编译模块,从而达到尽可能减少系统镜像体积的目的,对嵌入式等低性能的场景有很大的帮助。

但是 unikernal 的缺点是没有用户态和内核态的区分,也就意味着应用程序的权限管理会对内核的稳定性有很大的隐患。其次,ArceOS 目前只支持一个应用程序,不能作为一个通用的内核来使用。

因此,项目二的目的就是为了让 ArceOS 支持用户态和内核态、支持多应用的并发执行,向宏内核靠拢。
Loading