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

进程管理系统的支持 #7

Open
shzhxh opened this issue Jun 21, 2023 · 3 comments
Open

进程管理系统的支持 #7

shzhxh opened this issue Jun 21, 2023 · 3 comments

Comments

@shzhxh
Copy link
Contributor

shzhxh commented Jun 21, 2023

包括生成第一个用户进程

一些参考资料:

@shzhxh shzhxh moved this to Todo in 添加宏内核支持 Jun 21, 2023
@shzhxh shzhxh moved this from Todo to In Progress in 添加宏内核支持 Jun 28, 2023
@shzhxh
Copy link
Contributor Author

shzhxh commented Jun 28, 2023

今天和CY老师交流:

  • CY老师说很多学生都做过宏内核化的尝试,现在认为进程管理是宏内核的核心功能。建议我学习别人的成果,从进程管理开始。
  • CY老师说目前看到文件系统是OS的核心功能,其它子系统对文件系统有比较深的依赖。比如网络协议栈。

我之前走的是自底向上的路线,现在准备从进程管理开始,走自顶向下的路线。两者各有优势。

@shzhxh
Copy link
Contributor Author

shzhxh commented Jul 3, 2023

rCore里的task和process:基本上可以看做一个东西,只是task的抽象层次比process略高一点点。task更注重进程的完整性方面,process更注重进程的实现方面。

@shzhxh
Copy link
Contributor Author

shzhxh commented Jul 8, 2023

aero默认前一阶段有引导加载程序的支持(limine),而arceos默认没有引导加载程序的支持。而现实情况是,开发板一般都是有引导加载程序支持的(uboot)。
使用tokei工具统计代码量:arceos的modules和crates目录共有rust代码16923行,aero的aero_kernel目录共有rust代码31574行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant