x64 bit paging, cannot access lower than 1 TiB

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
Kamal123
Member
Member
Posts: 99
Joined: Fri Nov 01, 2019 1:17 am

x64 bit paging, cannot access lower than 1 TiB

Post 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.
User avatar
iansjack
Member
Member
Posts: 4703
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

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

Post 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.
Post Reply