80386 Protected Mode
In the 386 and later, protected mode retains the segmentation mechanism of 80286 protected mode, but a paging unit has been added as a second layer of address translation between the segmentation unit and the physical bus. Also, importantly, address offsets are 32-bit (instead of 16-bit), and the segment base in each segment descriptor is also 32-bit (instead of 24-bit). The general operation of the segmentation unit is otherwise unchanged. The paging unit may be enabled or disabled; if disabled, operation is the same as on the 80286. If the paging unit is enabled, addresses in a segment are now virtual addresses, rather than physical addresses as they were on the 80286. That is, the segment starting address, the offset, and the final 32-bit address the segmentation unit derives by adding the two are all virtual (or logical) addresses when the paging unit is enabled. When the segmentation unit generates and validates these 32-bit virtual addresses from a program's logical (46-bit) addresses, the enabled paging unit finally translates these virtual addresses into physical addresses. The physical addresses are 32-bit on the 386, but can be larger on newer processors which support Physical Address Extension.
The 80386 also introduced two new general-purpose data segment registers, FS and GS, to the original set of four segment registers (CS, DS, ES, and SS).
Read more about this topic: X86 Memory Segmentation, Protected Mode
Famous quotes containing the words protected and/or mode:
“Guns have metamorphosed into cameras in this earnest comedy, the ecology safari, because nature has ceased to be what it always had beenwhat people needed protection from. Now nature tamed, endangered, mortalneeds to be protected from people.”
—Susan Sontag (b. 1933)
“Literature exists at the same time in the modes of error and truth; it both betrays and obeys its own mode of being.”
—Paul Deman (19191983)