OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 5:48 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: A new kernel for newbies
PostPosted: Wed Sep 27, 2017 5:15 am 
Offline

Joined: Wed Sep 27, 2017 4:55 am
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: x64 and 30 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group