Which Segment Are We Referring To?
Explore how operating systems manage memory through segmentation by using segment registers and virtual address bits. Understand both explicit and implicit approaches for segment identification, address translation, and bounds checking to achieve efficient memory management.
We'll cover the following...
The hardware uses segment registers during translation. How does it know the offset into a segment, and to which segment an address refers?
Explicit approach
One common approach, sometimes referred to as an explicit approach, is to chop up the address space into segments based on the top few bits of the virtual address; this technique was used in the
In our example, then, if the top two bits are ...