mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[HALX86] Implement HalpSetupProcessorsTable
Add a helper function for getting a pointer to the PRCB of every processor in the system and assign it to the PROCESSOR_IDENTITY struct.
This commit is contained in:
+10
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user