Global Descriptor Table: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
* 'L' bit (bit 21, next to 'Sz') is used to indicate x86-64 descriptor |
* 'L' bit (bit 21, next to 'Sz') is used to indicate x86-64 descriptor |
||
* 'Sz' bit (bit 22) has to be 0 when the 'L' bit is set, as the combination Sz = 1, L = 1 is reserved for future use (and will throw an exception if you try to use it) |
* 'Sz' bit (bit 22) has to be 0 when the 'L' bit is set, as the combination Sz = 1, L = 1 is reserved for future use (and will throw an exception if you try to use it) |
||
<br/> |
|||
The [[LGDT]] instruction will look for a 8-byte base address in long mode. |
|||
<br/> |
<br/> |
||
See Figure 3-8, "Segment Descriptor" of the Intel System Programmer's manual. |
See Figure 3-8, "Segment Descriptor" of the Intel System Programmer's manual. |