如何使用C语言启动内核编程 [英] how to start kernel programming using c language

查看:125
本文介绍了如何使用C语言启动内核编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友..
请帮助我使用c.

hi friends..
plz help me in creating a simple boot loader and a kernel using c.

推荐答案

创建一个简单的引导程序和内核.得到几个简单的答案后,您就不能指望能上路.

您应该了解,几乎在所有现代操作系统中,应用程序程序员均已关闭内核模式.您只能通过可能编写的设备驱动程序或引导程序代码访问内核模式.

(几年前,我从MS DOS(以及后来的Windows 95)开始,并获得了对内核的访问权.在现代的基于NT的Windows或Linux中,您无法做到这一点.)

有关内核模式的文献也很有限.

看看这些CodeProject文章:
如何开发自己的Boot Loader [构建自己的操作系统 [ http://www.wikihow.com/Make-a-Computer-Operating-System [ ^ ].

这本书不完整,但值得一看:
http://www.acm.uiuc.edu/sigops/roll_your_own/ [ http://zh-CN. lmgtfy.com/?q=create+your+own+(OS+OR+%22Operating+System%22+OR+%22boot+loader%22) [
This is not a simple topic; you cannot hope you can get on the road after you got few simple answers.

You should understand that the kernel mode is closed for application programmers in nearly all modern operating system. You can only access kernel mode through device driver or bootstrap code you can possibly write.

(Years ago, I started from MS DOS (and later Windows 95) and gained access to the kernel. You cannot do such tricks it in modern NT-based Windows or Linux.)

Literature on kernel mode is also limited.

Look at these CodeProject articles:
How to develop your own Boot Loader[^],
Building your own operating system[^].

See also:
http://www.wikihow.com/Make-a-Computer-Operating-System[^].

This book is incomplete but deserves a look:
http://www.acm.uiuc.edu/sigops/roll_your_own/[^].

Google for more:
http://en.lmgtfy.com/?q=create+your+own+(OS+OR+%22Operating+System%22+OR+%22boot+loader%22)[^] — not all of the 107,000,000 results are really relevant though :-).

—SA


这是一个非常有用的网站: http://www. osdev.org/ [^ ]

您还需要学习汇编程序,以控制硬件等.
Here is an extremely useful site: http://www.osdev.org/[^]

You will also need to learn Assembler, for controlling hardware etc.


http://osdev.org
http://osdever.net

我认为,它将解决您的问题...
http://osdev.org
http://osdever.net

i think, it will solve your problem...


这篇关于如何使用C语言启动内核编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆