global descriptor table in X86 Linux
Peter Teoh
htmldeveloper at gmail.com
Tue Jul 29 19:36:57 EDT 2014
search for "lgdt" here (for 32-bit kernel):
http://lxr.free-electrons.com/source/arch/x86/kernel/head_32.S
On Tue, Jul 29, 2014 at 4:04 AM, Xin Tong <trent.tong at gmail.com> wrote:
> Hi
>
> Ive heard that Linux uses the flat mode segmentation, i.e. the
> segmentation base is forced to be 0 and the limit to be 2^64.
>
> I am having trouble finding the kernel code that sets up the GDT, can
> someone please point me to the right direction.
>
> Thanks a lot.
> Xin
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
--
Regards,
Peter Teoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140730/7af46600/attachment.html
More information about the Kernelnewbies
mailing list