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

代码清洗 #24

Open
retrhelo opened this issue May 22, 2021 · 2 comments
Open

代码清洗 #24

retrhelo opened this issue May 22, 2021 · 2 comments

Comments

@retrhelo
Copy link
Contributor

在现阶段的VFS和Scheduler搞好之后,进行一次较大规模的代码整理,主要是整理代码和编写文档。

@retrhelo retrhelo modified the milestones: A Stable Release, xv6-k210: v1.0 May 24, 2021
@retrhelo
Copy link
Contributor Author

比赛要求的syscall有一部分与原xv6中的syscall存在偏差,也有部分是原xv6中syscall的超集。在清洗代码时或许可以考虑精简一下syscall,统一采用比赛要求的syscall。

@retrhelo
Copy link
Contributor Author

可以考虑效仿Linux代码的组织形式,将不同功能的代码存入不同的文件夹中,比如使用driver文件夹来存放各式各样的硬件驱动程序等等。

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

No branches or pull requests

1 participant