Is there any small kernel good enough for learning osdev? [closed]
Asked Answered
A

3

13

I would like to learn more about osdev. So I thought about learning from other small kernels to get better at osdev. Is there any good kernel for learning osdev? Of course it needs to be GPL so I can have access to source code and have the freedom to modify it.

Aid answered 26/2, 2012 at 5:51 Comment(0)
F
13
  1. FreeRTOS is as small as it can get. The kernel image is just 4K-9K! It is an RTOS but it will give you a fair idea about OSs in general too!

  2. Minix is another that many prefer! Though its not that small but its quite popular in education circles!

  3. FemtoOS might also interest you!

  4. TinyOS also serves a similar purpose!

Most of what I've listed come from the embedded world. Because thats where size and simplicity matter!

Footloose answered 28/2, 2012 at 12:12 Comment(0)
N
8

http://www.stanford.edu/class/cs140/projects/pintos/pintos.html

PintOS is another addition to the above. Very simple framework and implementation is extremely simple to understand. Popularly used to introduce students to OS design and implementation.

Nullify answered 28/2, 2012 at 17:26 Comment(1)
This is a really lightweight build. It's a shame I can't get it to run.Brittne
P
2

It's not a kernel as such, but a tutorial for writing your own, so maybe you'll find it helpful:

Roll your own toy UNIX-clone OS

EDIT: The above link is no longer valid. Try this instead.

Penang answered 28/2, 2012 at 21:9 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.