diff --git a/hal/halx86/smp/smp.c b/hal/halx86/smp/smp.c index 8950aa83cfe..f8e2f9e4cdf 100644 --- a/hal/halx86/smp/smp.c +++ b/hal/halx86/smp/smp.c @@ -14,11 +14,20 @@ /* GLOBALS *******************************************************************/ +extern PPROCESSOR_IDENTITY HalpProcessorIdentity; + /* FUNCTIONS *****************************************************************/ VOID HalpSetupProcessorsTable( _In_ UINT32 NTProcessorNumber) { - UNIMPLEMENTED; + PKPRCB CurrentPrcb; + + /* + * Link the Prcb of the current CPU to + * the current CPUs entry in the global ProcessorIdentity + */ + CurrentPrcb = KeGetCurrentPrcb(); + HalpProcessorIdentity[NTProcessorNumber].ProcessorPrcb = CurrentPrcb; }