It's all about Memory
Posted: Tue Nov 21, 2017 7:00 pm
Hello there, this is my first post and I'm so glad to be here. Reading a story is interesting thing, living one is quite another. My post is about some questions that I can not solve since been involved in OS development and I hope that someone could guide me through the road. Although I have successfully built my tool chain as instructed and managed to boot, gdt, irq, timer, keyboard... But I stuck in memory and how to manage it. Simply could not answer these questions:-
1) how big is my kernel.
2) how to know where is my kernel in physical memory (start - end).
3) how to use grub memory map and not just to know it.
4) how to design a flat memory model.
Furthermore...
5) how to start paging.
6) how to create a memory management system using virtual memory.
I know Memory is a complex concept though four months have passed reading all kind of information I could reach but with no progress, my goal is not just a theory I have read enough but could not understand. I need a practical piece of code to start with.
I hope this is enough to express the problem and forgive my English - still in progress. Thanks in advance.
1) how big is my kernel.
2) how to know where is my kernel in physical memory (start - end).
3) how to use grub memory map and not just to know it.
4) how to design a flat memory model.
Furthermore...
5) how to start paging.
6) how to create a memory management system using virtual memory.
I know Memory is a complex concept though four months have passed reading all kind of information I could reach but with no progress, my goal is not just a theory I have read enough but could not understand. I need a practical piece of code to start with.
I hope this is enough to express the problem and forgive my English - still in progress. Thanks in advance.