Paging Can Do It All

If segmentation is eliminated and Paging is used, the Paging Unit can provide complete protection, as well as the paging capability described in the previous chapter. The Paging Unit provides the following checks on each memory access attempt:

  • A privilege check using the PTE's U/S bit.

  • Read/write permission checking using the PTE's R/W bit.

When a memory access is attempted, the Paging Unit deals with one of three cases:

  1. The target page is currently in memory (P = 1 in the PTE). Assuming that the currently executing program has sufficient privilege to access the page and that it's not attempting to write to a read-only page, the access is permitted.

  2. The target page isn't in memory (P = 0 in the PTE). This results in a Page ...

Get The Unabridged Pentium 4 IA32 Processor Genealogy now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.