Page Registers and Page Tables
So, the operating system now maintains a set of page registers,
or a page table.
The page table holds the (physical, absolute) frame location for each page of
the Running process.
Within each process,
a logical address now consists of
a page number and an offset within that page's frame.
In the following figure,
6 bits from each 16-bit logical address indicate which page table entry to use.
The remaining 10 bits of the logical address are
appended to the contents of the page table entry to provide the actual
physical address.
Those 10 bits specify the offset or index
into the physical page.
Logical-to-Physical Address Translation using Paging
The Logical-to-Physical mapping can still be performed in hardware,
provided that hardware knows how to access the page table of the current process.
CITS2002 Systems Programming, Lecture 13, p11, 11th September 2023.
|