Page 1 of 1

Paging

Posted: Tue Feb 01, 2005 9:37 am
by Googles
Is it possible to have a user pagetable in a superuser pagedirectory and the other way around?

Re:Paging

Posted: Tue Feb 01, 2005 10:19 am
by Pype.Clicker
you can have a USER=1 PTE in a USER=0 PDE, if that's what you mean. However, the access control that applies is

Code: Select all

if (CPL=3)
 if(!PTE.USER || !PDE.USER) throw new PageFault;
so as soon as one of the P*E entries has USER=0, you cannot access the page from userland.