Paging Questions
Posted: Tue May 11, 2004 11:00 pm
Hi Having got my gui up and running to a certain extent I now see the need for paged memory, and am starting to experiment with it. I have a few questions.
1. When I set up my IDT do I use Physical memory addresses for handlers
2. I assume i need only 1 data selector & 1 code Selector is this correct
3. How to call Ring 0 from Ring 1-3 (maybe need more selectors)
4. From what Ive read so far I am trying to do the following.
Have One Page Directory for each App/Task
Set the bottom 16Megs of All Page Tables For the Kernel
Set the Next 48Megs for Shared Functions
and the remaining entries for the App itself (-Video Memory)
5. I want only Kernel to be able to write to Video Memory, How do I go about This.
Thanks for listening, Ill probably work some of it out as i go but any help will be appriciated.
pkd
1. When I set up my IDT do I use Physical memory addresses for handlers
2. I assume i need only 1 data selector & 1 code Selector is this correct
3. How to call Ring 0 from Ring 1-3 (maybe need more selectors)
4. From what Ive read so far I am trying to do the following.
Have One Page Directory for each App/Task
Set the bottom 16Megs of All Page Tables For the Kernel
Set the Next 48Megs for Shared Functions
and the remaining entries for the App itself (-Video Memory)
5. I want only Kernel to be able to write to Video Memory, How do I go about This.
Thanks for listening, Ill probably work some of it out as i go but any help will be appriciated.
pkd