public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* GDT initialization and location question.
@ 2005-08-30 20:51 Pritesh Shah
  2005-08-30 23:03 ` Chris Wright
  0 siblings, 1 reply; 3+ messages in thread
From: Pritesh Shah @ 2005-08-30 20:51 UTC (permalink / raw)
  To: linux-kernel

Hi,
I was wondering as to where is the GDT initialized during the boot
sequence? I will need the filename and the name of the routine that
does this. Any help would be greatly appreciated.
Thanks in advance,
Pritesh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GDT initialization and location question.
  2005-08-30 20:51 GDT initialization and location question Pritesh Shah
@ 2005-08-30 23:03 ` Chris Wright
  2005-08-30 23:11   ` Randy.Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Wright @ 2005-08-30 23:03 UTC (permalink / raw)
  To: Pritesh Shah; +Cc: linux-kernel

* Pritesh Shah (pritesh.myphotos@gmail.com) wrote:
> I was wondering as to where is the GDT initialized during the boot
> sequence? I will need the filename and the name of the routine that
> does this. Any help would be greatly appreciated.

Search for cpu_gdt_table (one is literal, the other is per_cpu).  You
should be able to work it out from there.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GDT initialization and location question.
  2005-08-30 23:03 ` Chris Wright
@ 2005-08-30 23:11   ` Randy.Dunlap
  0 siblings, 0 replies; 3+ messages in thread
From: Randy.Dunlap @ 2005-08-30 23:11 UTC (permalink / raw)
  To: Chris Wright; +Cc: Pritesh Shah, linux-kernel

On Tue, 30 Aug 2005, Chris Wright wrote:

> * Pritesh Shah (pritesh.myphotos@gmail.com) wrote:
> > I was wondering as to where is the GDT initialized during the boot
> > sequence? I will need the filename and the name of the routine that
> > does this. Any help would be greatly appreciated.
>
> Search for cpu_gdt_table (one is literal, the other is per_cpu).  You
> should be able to work it out from there.
> -

I would have said search for /gdt/ in arch/i386/boot/setup.S .
Maybe both are helpful.

-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-30 23:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-30 20:51 GDT initialization and location question Pritesh Shah
2005-08-30 23:03 ` Chris Wright
2005-08-30 23:11   ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox