c***@CSIC.UMD.EDU
2005-11-05 19:40:13 UTC
"We will define a single page table for all kernel-only threads,
and a page table for each user process. The page table you set up
for part I will be used by the kernel. As such, you should change
the flags fields to not include VM_USER."
"Page tables for user processes will contain entries mapping user
logical memory to linear memory, and will also contain entries to
address the kernel memory. This is not so user processes can
access kernel memory directly (we will set the access flags of the
memory to prevent them from doing so), but rather so that when an
interrupt occurs the page table does not need to be changed for
the kernel to access its own memory---it will simply use the page
table of the user process that was running when the interrupt
occurred."
I am a little confused about the terminology now. Is there project
referring to Page Directory above everytime it is saying Page Table
and a page table for each user process. The page table you set up
for part I will be used by the kernel. As such, you should change
the flags fields to not include VM_USER."
"Page tables for user processes will contain entries mapping user
logical memory to linear memory, and will also contain entries to
address the kernel memory. This is not so user processes can
access kernel memory directly (we will set the access flags of the
memory to prevent them from doing so), but rather so that when an
interrupt occurs the page table does not need to be changed for
the kernel to access its own memory---it will simply use the page
table of the user process that was running when the interrupt
occurred."
I am a little confused about the terminology now. Is there project
referring to Page Directory above everytime it is saying Page Table