Global Descriptor Table: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content added Content deleted
(Changed old images (one lacking an important flag) to box-drawn text blocks and added a section about the layout of the table itself. Again, if this edit is not welcome feel free to revert it.)
Line 45: Line 45:
The first entry in the '''GDT''' (Entry 0) should always be null and subsequent entries should be used instead.
The first entry in the '''GDT''' (Entry 0) should always be null and subsequent entries should be used instead.


Entries in the table are accessed by '''Segment Selectors''', which are either loaded into '''[[Segmentation]]''' registers by assembly instructions or by hardware functions such as '''[[Interrupts]]'''.
Entries in the table are accessed by '''Segment Selectors''', which are loaded into '''[[Segmentation]]''' registers either by assembly instructions or by hardware functions such as '''[[Interrupts]]'''.


== Segment Descriptor ==
== Segment Descriptor ==