Re: global descriptor table in X86 Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




--
Regards,
Peter Teoh
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux