After I made a code the gets the memory map from BIOS and cuts the memory blocks that the kernel will use and the blocks that the VGA uses, the code creates an array that have the following format:
1 DWORD memory address that the 4KB memory blocks start.
1 DWORD the count of 4KB memory blocks that are in that address one after another.
Αnd continues with that way. (the number of this entries is in the ecx register).
Now I want a way to store the memory blocks (for example with bitmap) but to not map some of them but all!
I cannot find any code that maps all the blocks.
Do someone knows a way to do that (an algorithm map all blocks)?
Physical memory management help
- Coconut9
- Member
- Posts: 51
- Joined: Sat May 20, 2017 1:25 am
- Location: PCI bus: 3, slot: 9, function: 5
Physical memory management help
Last edited by Coconut9 on Tue Aug 01, 2017 2:05 am, edited 2 times in total.
How people react when a new update of your OS is coming:
Linux user: Cool, more free stuff!
Mac user: Ooh I have to pay!
Windows user: Ah not again!
Linux user: Cool, more free stuff!
Mac user: Ooh I have to pay!
Windows user: Ah not again!
Re: Physical memory management help
Write it? Checked the wiki? CPU documentation?