0%

NTHU-Operating-System-Chap8-Memory-Management—Segmentation

Segmentation

Logical View of Segmentation

Segmentation Table

Segmentation Hardware

Address Translation Comparison

Example of Segmentation

Sharing of Segments

Protection & Sharing

Segmentation with Paging

Basic Concept

Address Translation

Example: The Intel Pentium

前16位是段选择子,段选择子分为三部分,我们只关心第一部分13位,其中segment number 通过STBR在内存中找到相应的段基址,然后用后32位与段基址相加得到线性地址

Intel Pentium Segmentation

这里用由于基址和偏移都是32位的,因此产生的线性地址是32位的,再将这个32位的地址按Two-Level Address Translation 转换成物理地址,从而避免了64-bit Address的弊端

Intel Pentium Paging (Two-Level)

Example Question

Review Slides ( 5 )

求大佬赏个饭