Global Descriptor Table: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
m made table left-right formatting more robust |
m cr non-breaking spaces |
||
Line 9:
{| class="wikitable"
|+ GDT Descriptor (GDTR)
!style="width: 66%; text-align: left;" |79 (64-bit mode) <br> 48 (32-bit mode)
!style="width: 34%; text-align: left; vertical-align: bottom;" |15
|-
|'''Offset'''<br>63 (64-bit mode) <br> 31 (32-bit mode)
|'''Size'''<br><br>15
|}
* '''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 50:
{| class="wikitable"
|+ Segment Descriptor
!style="width: 20%; text-align: left;"|63
!style="width: 12.5%; text-align: left;"|55
!style="width: 12.5%; text-align: left;"|51
!style="width: 25%; text-align: left;"|47
!style="width: 25%; text-align: left;"|39
|-
|'''Base'''<br>31
|'''Flags'''<br>3
|'''Limit'''<br>19
|'''Access Byte'''<br>7
|'''Base'''<br>23
|-
!colspan=3 style="text-align: left;"|31 <span style="float: right;">16</span>
!colspan=2 style="text-align: left;"|15 <span style="float: right;">0</span>
|-
|colspan=3|'''Base'''<br>15
|colspan=2|'''Limit'''<br>15
|}
|