Global Descriptor Table: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
corrected styling and removed verbose/useless formatting (e.g. ill-formed css tags that seem to have no effect due to spaces before the semicolon), I'll do the other tables later |
changed segment descriptor table |
||
Line 8:
{| class="wikitable"
|+
!style="width: 60%; text-align: left;
!style="width: 6%; text-align: right; border-left: none;" |16
!style="width: 17%; text-align: left;
!style="width: 17%; text-align: right; border-left: none;" |0
|-
|style="
|style="
|style="
|style="
|}
* '''Size:''' The size of the table in bytes subtracted by 1. This subtraction occurs because the maximum value of '''Size''' is 65535, while the '''GDT''' can be up to 65536 bytes in length (8192 entries). Further, no '''GDT''' can have a size of 0 bytes.
Line 52:
Each entry in the table has a complex structure:
{| class="wikitable
|+ Segment descriptor
!style="width: 5%; text-align: right; border-left: none;"|32
|-
|style="
|style="
|style="
|style="
|style="
|style="
|style="
|style="
|style="
|style="
|-
▲|style="padding: 2px; width: 56px; text-align: left ; border-left: 1px ; border-right: none;"|'''Limit'''<br>19
▲|style="padding: 2px; width: 15px; text-align: right; border-left: none; border-right: 1px ;"|<br>16
▲|style="padding: 2px; width: 136px; text-align: left ; border-left: 1px ; border-right: none;"|'''Access Byte'''<br>7
▲|style="padding: 2px; width: 15px; text-align: right; border-left: none; border-right: 1px ;"|<br>0
▲|style="padding: 2px; width: 136px; text-align: left ; border-left: 1px ; border-right: none;"|'''Base'''<br>23
▲|style="padding: 2px; width: 16px; text-align: right; border-left: none; border-right: 1px ;"|<br>16
▲|style="padding: 2px; width: 296px; border-right: none;" |31
▲|style="padding: 2px; width: 15px; text-align: right; border-left: none;" |16
▲|style="padding: 2px; width: 16px; text-align: right; border-left: none;" |0
|-
|colspan=5 style="
|style="
|colspan=3 style="
|style="
|}
|