OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Apr 18, 2024 10:47 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: No way of setting up paging
PostPosted: Thu Oct 24, 2019 5:00 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4594
Location: Chichester, UK
That's exactly what it covers - how to manipulate page tables, either the current one or another one. You should read the articles I linked to there.


Top
 Profile  
 
 Post subject: Re: No way of setting up paging
PostPosted: Thu Oct 24, 2019 5:23 am 
Offline
Member
Member
User avatar

Joined: Tue Mar 06, 2007 11:17 am
Posts: 1225
abcd wrote:
iansjack wrote:
Perhaps you should read this recent thread: viewtopic.php?f=1&t=35110

Thank you for the suggestion, but it still doesn’t cover how to allocate a new page directory...
You can keep an array of CR3 page directory values. If an element contains 0, you can add a page address to create a new directory.

You just need to keep track of free physical pages with a bitmap at least.

Then with your visor page table you can map around unmapped pages to initialize a completely new page directory.

_________________
Live PC 1: Image Live PC 2: Image

YouTube:
http://youtube.com/@AltComp126/streams
http://youtube.com/@proyectos/streams

http://master.dl.sourceforge.net/projec ... 7z?viasf=1


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 106 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