Global Descriptor Table: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
mNo edit summary
Line 37: Line 37:


=== x86-64 Changes ===
=== x86-64 Changes ===
* '''L''' bit (bit 53, next to '''Sz''') is used to indicate x86-64 code descriptor. '''This bit is reserved for data segments'''
* '''L''' bit (bit 53, next to '''Sz''') is used to indicate x86-64 code descriptor. '''For data segments, this bit is reserved'''
* '''Sz''' bit (bit 54) 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 54) 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/>
<br/>