Ch2__Page Table

Page Table 比較重要的意義在於讓不同process的memory adress translate(map)到physical adress,這樣可以保護不同process的記憶體。

Paging hardware

page table hardware就是藉由mapping連接下面這兩種Adress

Page Table Entire

整體來說

所以Page Table Hardware就是採用這樣雙重的結構maping,可以讓大部分的virtual Adress有unmapping的情況。
其上面有關Flag定義和Page Table Hardware相關的sturct都定義在 mmu.h裡面。

Process address space

Code: creating an address space

Physical memory allocation

Code: Physical memory allocator

User part of an address space

Code: sbrk

Code: exec