mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +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:
parent
0fc21e5a9b
commit
a09f925c1c
1 changed files with 10 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue