OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 1:03 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: x64 bit paging, cannot access lower than 1 TiB
PostPosted: Thu Nov 25, 2021 9:43 am 
Offline
Member
Member

Joined: Fri Nov 01, 2019 1:17 am
Posts: 95
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.


Top
 Profile  
 
 Post subject: Re: x64 bit paging, cannot access lower than 1 TiB
PostPosted: Thu Nov 25, 2021 10:12 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4591
Location: Chichester, UK
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 57 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group