New answers tagged

2

What's not shown in the little bit assignment table you looked at is: The bits 51:12 of the PTE are also bits 51:12 of the page table address. The complete page table address consists of bits 51:12 of the PTE in bit positions 51:12, and zeroes elsewhere. Perhaps this picture will make it clearer:


11

Alignment is required for page tables because there's literally nowhere to store the low address bits. The bottom 12 bits of a page directory entry is flags like present, accessed, user/supervisor, whether this is actually a largepage instead of a pointer to a page table, etc. https://wiki.osdev.org/Paging#64-Bit_Paging. Similar for the higher 2 levels of ...


Top 50 recent answers are included