by vibrantrida · 1y ago · 0 comments
Here is someone's take on MikanOS [0] https://github.com/uchan-nos/mikanos
And another one on 30-days Homemade OS [1] https://github.com/kamaboko123/30daysOS
An attempt to translate "30-days Homemade OS" [1] to English but it didn't get far https://github.com/handmade-osdev/os-in-30-days
I do not know of any English book nor article that go this far, except Fusion but the graphical environment chapter is not done yet [2]
[0] https://www.amazon.co.jp/dp/4839975868 - MikanOS
[1] https://www.amazon.co.jp/dp/B00IR1HYI0 - 30-days Homemade OS
[2] https://0xc0ffee.netlify.app/osdev/ - Fusion, an OS made in Nim
And of course I will document everything as I make more progress.
As for your case, I understand the need to avoid locks. In my case, the channel is implemented as a queue of messages, which is implicitly synchronized between tasks. Currently it's implemented using a blocking queue, since I want to put senders/receivers to sleep when the queue is full/empty, respectively. The API does support a no-wait option, but I'm not currently using it.
There will be a lot to write about once I'm past this point :)
I did bookmark this project a few months ago but couldn't spend time to understand more about it. I wasn't aware of documentation, which should now make it easy to start with. Thanks for putting a lot of work in documentation!