kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Physical address of Page Table Entries
@ 2013-11-09  1:37 Mark Wallace
       [not found] ` <4E5779AD88B2F040B8A7E83ECF544D1A05B606@SJCPEX01CL02.citrite.net>
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Wallace @ 2013-11-09  1:37 UTC (permalink / raw)
  To: kernelnewbies

Hi all,

*Question: *
When we use 2 level paging(Directory+Table+Offset), does the page table
entries have to be put exactly on the beginning of a page frame?

*Description: *
The format of Page Directory and Page Table are the same. And they all
contain 20 bits as a pointer to the next level entries.

For Page Table entry, I understand that 20 bits is enough because page
frames are 4k aligned. But for Page Directory entry, the 20 bits should be
the address of a Page Table, that means the physical address of a Page
Table entry should be 4k aligned too. And thus they may only exist at the
beginning of a page frame.

Is this right or am I missing something?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131109/76213568/attachment.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-09  2:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-09  1:37 Physical address of Page Table Entries Mark Wallace
     [not found] ` <4E5779AD88B2F040B8A7E83ECF544D1A05B606@SJCPEX01CL02.citrite.net>
2013-11-09  2:30   ` Mark Wallace

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).