Page 1 of 1

A new kernel for newbies

Posted: Wed Sep 27, 2017 5:15 am
by gimcuan
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