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 <[email protected]> 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 > [email protected] > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > -- Regards, Peter Teoh
_______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
