SamY 6 Junior Poster in Training

hi, i have been able to map the 1st 4MBs of the memory but now i am trying to create an allocator. it 1st checks for enought memory using the BITMAP method, then after that it allocates areas where the PDE and all its PTEs will stay.
Now i need help in coding how the PDE and PTE will be filled to reflect on each other appropriately, also my other Question is, what method is best to make both the allocated memory and kernel code memory appear in a single PDE. So that code can use the newly allocated space?. the code is really confusing me and i need help so that i can move to the next step in my Kernel..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.