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

Does Little kernel belong to monolithic or microkernel?
https://forum.osdev.org/viewtopic.php?f=15&t=31930
Page 1 of 1

Author:  shijun [ Fri May 19, 2017 12:35 am ]
Post subject:  Does Little kernel belong to monolithic or microkernel?

Does the little kernel (LK:https://github.com/littlekernel/lk) belong to the monolithic architecture or microkernel architecture?

Author:  dchapiesky [ Fri May 19, 2017 3:20 am ]
Post subject:  Re: Does Little kernel belong to monolithic or microkernel?

my own opinion is that it is a dynamic monolithic kernel....

additional features are added simply by linking in libraries which have markups in special constructor/destructor sections of the object file.

so "dynamic" in that you can pick and choose what features you want simply by linking them in...

monolithic because it all ends up being one big executable with function calls being the dispatch mechanism for services.

If you study Magenta OS from google - which is based on a modified Little Kernel - then you enter into a microkernel architecture.... the lk portion is fairly minimalistic and the features linked in include the Magenta message queue system and basic device drivers....

major services of the OS are implemented as services which communicate to & via the kernel using message queues....

Author:  shijun [ Tue May 23, 2017 2:42 am ]
Post subject:  Re: Does Little kernel belong to monolithic or microkernel?

Thanks! Your answer is very clear.

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