Segmentation

Let process have many base and bound registers

  • Address Space built from many segments
  • Can share/protect memory at segment granularity
  • Segments provide different protection
    • Read-only, executable, etc

See also Base + Bound Register

Mechanics

Pasted image 20231209135523.png

How do you find physical address?

  1. Is it a valid segment number?
  2. Check offset < segment length (Bound)
  3. Check operation is allowed
  4. Physical address = base + offset

Advantages

Disadvantages