lkml.org 
[lkml]   [2009]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: x86: asm doubt
Jeremy Fitzhardinge wrote:
> In 32-bit mode, moving to a segment register can fault if the
> underlying GDT/LDT entry is invalid. In 64-bit mode, segment
> registers are mostly decorative and have no function, and moving
> arbitrary values into them doesn't fault, making the exception
> catching unnecessary.

64-bit mode will in fact fault if an access is made outside the GDT/LDT,
or of the descriptor is invalid.


--
error compiling committee.c: too many arguments to function



\
 
 \ /
  Last update: 2009-03-16 15:17    [W:0.039 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site