OSDev.org
https://forum.osdev.org/

A new kernel for newbies
https://forum.osdev.org/viewtopic.php?f=2&t=32449
Page 1 of 1

Author:  gimcuan [ Wed Sep 27, 2017 5:15 am ]
Post subject:  A new kernel for newbies

yayaya, it's a kernel only supports arm cortex cores now, but it should be easy porting to other platforms in theory ;-).

the features:

1, round-robin schedule at same priority level
2, simple semaphore implemented
3, entry level and well easy learning

from this almost the most simple kernel you can learn:

how does threads switching works,
how does a simple semaphore works,
how to manage single linked list by using pointers to pointers,
how to save context of current thread and so many details.

love it or forgot it. :-)

but..., I’d love it if you commit issues or patches.

source tree: https://github.com/gilarus/totoro
source tree mirror: https://soloing.org/pub/totoro

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/