lkml.org 
[lkml]   [2006]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] i386-pda: Initialize the PDA early, before any C code runs.
Date
On Tuesday 12 September 2006 00:52, Jeremy Fitzhardinge wrote:
> Initialize the PDA early, before any C code runs.
>
> This patch makes sure the PDA is usable in head.S, before any C code
> is run.
>
> On the boot CPU, this is done by using a temporary boot_pda which is
> initialized appropriately. It is replaced with a proper PDA when the
> proper GDT is installed.
>
> For secondary CPUs, the GDT and PDA are pre-allocated and initialized.
> head.S just needs to set %gs and load the GDT.
>
> In the process, this removes the need for early_smp_processor_id() and
> early_current().

Against which tree was that? There are a zillion of rejects.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-09-12 19:19    [W:0.067 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site