OSDev.org https://forum.osdev.org/ |
|
Just finished setting up basic paging, now what ? https://forum.osdev.org/viewtopic.php?f=15&t=33025 |
Page 1 of 1 |
Author: | DeezRamChips [ Sat Jun 23, 2018 7:50 am ] |
Post subject: | Just finished setting up basic paging, now what ? |
So, I finally got around to adding paging to my OS, but now I'm not sure what to do :/ I kinda want to implement a memory manager but I don't know where to start and most importantly, I don't know whats the best way to do it so I don't run into problems later. I also wanted to implement multitasking, but isn't it more important to get a working memory management system first ? Hope someone can point me in the right direction ^^ |
Author: | nielsd [ Sat Jun 23, 2018 8:57 am ] |
Post subject: | Re: Just finished setting up basic paging, now what ? |
When you implement multitasking, you want to store the state of the tasks. You'd want to dynamically allocate the memory for the task structures, so I'd implement a memory manager first. For dynamically allocating memory, you might want to see the wiki article about Heap. There are multiple ways to implement a heap. I'd recommend checking if your heap implementation works correctly after you implemented it, otherwise you might run into annoying issues. |
Author: | DeezRamChips [ Sat Jun 23, 2018 10:34 am ] |
Post subject: | Re: Just finished setting up basic paging, now what ? |
Oh ok, I see Thanks for the answer ! |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |