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 ^^
Just finished setting up basic paging, now what ?
- DeezRamChips
- Member
- Posts: 132
- Joined: Fri Apr 08, 2016 5:03 am
- Location: atapio.cpp - why won't you work :(
- Contact:
Just finished setting up basic paging, now what ?
My github page: https://github.com/AlexandreRouma
Meme-deving since 420 Bc !
YouTube: https://www.youtube.com/channel/UCyJnOD ... C8Y7pccc6A
Twitter: https://twitter.com/WhatsTheGeekYT
Meme-deving since 420 Bc !
YouTube: https://www.youtube.com/channel/UCyJnOD ... C8Y7pccc6A
Twitter: https://twitter.com/WhatsTheGeekYT
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.
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.
osdev project, goal is to run wasm as userspace: https://github.com/kwast-os/kwast
- DeezRamChips
- Member
- Posts: 132
- Joined: Fri Apr 08, 2016 5:03 am
- Location: atapio.cpp - why won't you work :(
- Contact:
Re: Just finished setting up basic paging, now what ?
Oh ok, I see
Thanks for the answer !
Thanks for the answer !
My github page: https://github.com/AlexandreRouma
Meme-deving since 420 Bc !
YouTube: https://www.youtube.com/channel/UCyJnOD ... C8Y7pccc6A
Twitter: https://twitter.com/WhatsTheGeekYT
Meme-deving since 420 Bc !
YouTube: https://www.youtube.com/channel/UCyJnOD ... C8Y7pccc6A
Twitter: https://twitter.com/WhatsTheGeekYT