编写我自己的内核
我需要一些指导来开始学习编程我自己的操作系统内核。
只是为了教育目的。
我怎样才能编写自己的内核?
I need some directions to start learning about programming my own operating system kernel.
Just for educational purpouses.
How can I write my own Kernel?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
发布评论
评论(3)
~没有更多了~
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我首先要问:你为什么选择“编写内核”?除了“在内存中实现我自己的任务结构以由我编写的调度程序交换并使用由我编写的代码管理并受机器级原子指令的抽象保护并被赋予的内存”之外的任何答案/O 通过位于实际硬件接口之上的抽象进行访问对我来说很有吸引力”可能是一个糟糕的答案,表明您没有进行任何研究并且正在浪费时间。
如果您的回答与上述类似,那么您就有了一个良好的起点,并且知道需要研究什么(也就是说,您能够在某种程度上查明哪些信息是您不知道但需要找出的)。
不管怎样,我认为这个问题不值得问。在一种情况下,您自己没有进行任何研究来发现自己是否真的可以做到这一点,而在另一种情况下,您提出了一个过于宽泛的问题。
I would first ask: why did you pick "writing a kernel?" Any answer other than "the idea of implementing my own task structures in memory to be swapped by a scheduler that I write and using memory that is managed by code that I wrote and is protected by abstractions of machine-level atomic instructions and is given I/O access through abstractions that sit atop actual hardware interfaces appeals to me" is probably a bad answer that indicates you haven't done any research whatsoever and are wasting your time.
If you answered similarly to the above, then you have a good starting point and you know what you need to research (that is, you are able to pinpoint to some degree what information you do not know but need to find out).
Either way, I don't think this question is worth asking. In one case, you have done no research of your own to discover if you can actually do this, and in the other case you asked an overly-broad question.