GDT and Paging

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
karim
Posts: 21
Joined: Mon Jun 23, 2025 8:03 pm

GDT and Paging

Post by karim »

People no longer use the GDT to divide the RAM, like having one part for the operating system and another for user programs to provide more protection for the RAM, so no one can access someone else’s part. Instead, they set up the GDT with a flat memory model, meaning from address 0 to 4GB for the entire RAM, just to enter Protected Mode, nothing more. It’s like a formality, and instead of that, they use paging, right? Is what I’m saying correct?
Octocontrabass
Member
Member
Posts: 6247
Joined: Mon Mar 25, 2013 7:01 pm

Re: GDT and Paging

Post by Octocontrabass »

Deleting your Reddit post before posting the exact same question here doesn't make it any harder to figure out you're the same person.

And yes, what you're saying is correct.
Post Reply