Where to start with multitasking/userland
Posted: Tue Jun 23, 2020 3:17 pm
Hi everyone!
I finally have a somewhat working memory manager that can allocate virtual memory, create new page directories, handle page faults, etc etc
Plus I have basic interrupt handlers and PIT up and running. I feel like I'm ready to start implementing multiprocessing/multitasking and start heading towards userland.
I found a bunch of cool tutorials that all approach things differently, but they're pretty old and its hard to tell, which one is the best at this time.
This is what I have found so far:
https://wiki.osdev.org/Brendan%27s_Mult ... g_Tutorial
http://www.brokenthorn.com/Resources/OSDev24.html
http://www.jamesmolloy.co.uk/tutorial_h ... sking.html
https://wiki.osdev.org/Kernel_Multitasking
Which one of those do you think is best in 2020? I don't want to take a hacky or intentionally simple/broken approach just to rewrite it later.
Also, while these tutorials talk about the implementation details, I was wondering if there were any other resources where I could read about multitasking (preferably modern) theory,
that explains different approaches and ways to do things and explains it more in depth. Any links other than the ones that I already found are also appreciated!
Thanks
I finally have a somewhat working memory manager that can allocate virtual memory, create new page directories, handle page faults, etc etc
Plus I have basic interrupt handlers and PIT up and running. I feel like I'm ready to start implementing multiprocessing/multitasking and start heading towards userland.
I found a bunch of cool tutorials that all approach things differently, but they're pretty old and its hard to tell, which one is the best at this time.
This is what I have found so far:
https://wiki.osdev.org/Brendan%27s_Mult ... g_Tutorial
http://www.brokenthorn.com/Resources/OSDev24.html
http://www.jamesmolloy.co.uk/tutorial_h ... sking.html
https://wiki.osdev.org/Kernel_Multitasking
Which one of those do you think is best in 2020? I don't want to take a hacky or intentionally simple/broken approach just to rewrite it later.
Also, while these tutorials talk about the implementation details, I was wondering if there were any other resources where I could read about multitasking (preferably modern) theory,
that explains different approaches and ways to do things and explains it more in depth. Any links other than the ones that I already found are also appreciated!
Thanks