Page 1 of 1

x64 bit paging, cannot access lower than 1 TiB

Posted: Thu Nov 25, 2021 9:43 am
by Kamal123
Hi, I have implemented 4 level paging, as I use UEFI to load my os. I have created my own mapping, and it's totally working. First I have identity mapped all physical addresses than I copy UEFI memory map temporarily because without that, it causes triple fault and I got my kernel running and user space applications also run smoothly except that I cannot access any address lower than 1 TiB of user section. What can be the problem?


Thanks in advance.

Re: x64 bit paging, cannot access lower than 1 TiB

Posted: Thu Nov 25, 2021 10:12 am
by iansjack
With the information given the only sensible answer is that you have got your page mapping wrong. If you are using Qemu you can check this with the command "info mem" in the monitor.