previous | start | next

Page Table for the Example

Virtual page 0 is in physical page (or page frame) 1
Virtual page 1 is in physical page (or page frame) 0
Virtual page 2 is in physical page (or page frame) 2
Virtual page 3 is in physical page (or page frame) 4
Virtual page 4 is in physical page (or page frame) 6

               Page Table
  Page    Frame No. Protection*
         +---------+---------+
    0    |    1    |    N    |
         +---------+---------+  
    1    |    0    |    R    |
         +---------+---------+
    2    |    2    |    R    |
         +---------+---------+
    3    |    4    |    W    |
         +---------+---------+
    4    |    6    |    W    |
         +---------+---------+

Protection: R = Read only  (e.g. code)
            W = Read or Write allowed for this page (e.g. data)
            N = Neither Read or Write access (to catch address errors)

     


previous | start | next