OpenSource For You

Protected mode: Segment translatio­n

-

Segment translatio­n is one of the key areas in protected virtual address mode. It is typically a mechanism of converting a logical address into a linear address by the segmentati­on hardware of the MMU unit. then a program gets loadedI the linkerLloa­der loads the segmentati­on registers with the appropriat­e value. A protected mode segmentati­on register holds a 16-bit segment selector. And every segment selector has a linear base address associated with itI which is stored in the segment descriptor.

A 16-bit selector is used to store an index to access a segment descriptor in a descriptor table (descriptor­s were created by the linkerLloa­der). cigure O shows the format of a selector.

As PHnWLRnHG, WKH LnGHx fiHOG (ELWs [15:3]) KDs D vDOXH to access a descriptor in a descriptor table. This 1P-bit index fiHOG Ls sLPSOy PXOWLSOLHG Ey WKH sFDOH IDFWRU (L.H., WKH OHngWK

Newspapers in English

Newspapers from India