Stichting-MINIX-Research-Foundation / minix

Official MINIX sources - Automatically replicated from gerrit.minix3.org
Other
2.99k stars 969 forks source link

Assessment of the difficulty in porting CPU architecture for the minix #348

Open wangyuliu opened 1 year ago

wangyuliu commented 1 year ago

Hello everyone! I am working on implementing a tool to assess the complexity of CPU architecture porting. It primarily focuses on RISC-V architecture porting. As part of my dataset, I have collected the minix project. I would like to gather community opinions to support my assessment. I appreciate your help and response! Based on scanning tools, the porting complexity is determined to be high, with a significance amount of code related to the CPU architecture in the project. It would require a professional team, and a large-scale one, to handle this task (referring to the overall workload from adapting the project to a specific architecture to achieving full functionality on that architecture). Is this assessment accurate? I look forward to your help and response. 各位网友大家好啊~~~~我正在实施一个工具,以评估CPU架构移植的复杂性。它主要关注RISC-V体系结构的移植。作为我的数据集的一部分,我收集了minix项目。我希望收集社区的意见,以支持我的评估。我很感谢你的帮助和回应!基于扫描工具,移植的复杂性被确定为较难,与项目中的CPU架构相关的代码量较大,这将需要一个专业的团队,可能还需要一个大规模的团队,来处理这个任务(指的是从使项目适应特定架构到在该架构上实现全部功能的总体工作量)。这样的评价准确吗?我期待着你的帮助和回应。

Ragnjerr commented 11 months ago

The MINIX microkernel is 12K lines of code (if not a little over), that is magnitudes smaller than the Linux kernel. I am sure with a small team you should be able to make drivers and patches to your own fork. The thing is, MINIX is on everyone's computer if you run Intel, it is running certain appliances, it is very small even compared to not only Linux but also BSD.