paging poc
Posted: Fri Jun 04, 2021 4:12 pm
any poc of x64 paging? im struggling
Again, this is way too open-ended a question to be answered in any meaningful way. I could read the manual to you, but you could also just do that on your own time. What specific thing are you having a problem with? Because as it stands now it looks like you didn't even try to read the documentation.Skyz wrote:I'm also unsure how paging works.
I read SDM, but I'd use SDM and a POC better to understand..nullplan wrote:Again, this is way too open-ended a question to be answered in any meaningful way. I could read the manual to you, but you could also just do that on your own time. What specific thing are you having a problem with? Because as it stands now it looks like you didn't even try to read the documentation.Skyz wrote:I'm also unsure how paging works.
What do you mean? In long mode, all physical memory is divided into frames. If you want to access one of those frames, you have to map it to a page to give it a virtual address.newosdeveloper2021 wrote:Do I have to make a frame for everything or just what i wanna page,
No. Paging is mandatory in long mode.newosdeveloper2021 wrote:is there any alternative to paging?
Can you just make a new mode like short mode and avoid paging?Octocontrabass wrote:What do you mean? In long mode, all physical memory is divided into frames. If you want to access one of those frames, you have to map it to a page to give it a virtual address.newosdeveloper2021 wrote:Do I have to make a frame for everything or just what i wanna page,
No. Paging is mandatory in long mode.newosdeveloper2021 wrote:is there any alternative to paging?
x86 protected mode doesn't use paging until it is explicitly enabled, so basic real mode and protected mode can both be used without paging.Skyz wrote:Is there a mode that it can be avoided, what's the benefit of running paging. I don't see any os using applications.
You can't make a new mode. You can use real mode or protected mode if you want to avoid paging. Why do you want to avoid paging?Skyz wrote:Can you just make a new mode like short mode and avoid paging?