Resources for writing a kernel in C

I do not want to write my own bootloader - I use Grub with pleasure.

I just want to implement pre-installed multithreading, a basic file system and virtual memory.

I want something that can work on top of qemu.

What is a good resource (book / textbook) to achieve this?

Thanks!

+4
source share
3 answers

The tutorials on osdev.org should get started. They even have a page to get started . Writing an OS is not for the faint of heart. Good luck

+9
source

You can also go to the labs on MIT 6.828 , the support code can be checked with git clone http://pdos.csail.mit.edu/6.828/2009/jos.git , and it’s easier for you to implement your own kernel here.

+2
source

I think the best way is to simply take any of the toy micro-projects (see freshmeat.net) and see how it is done

+1
source

Source: https://habr.com/ru/post/1302581/


All Articles