Register BSP in processor block array during initialization
This commit is contained in:
@@ -137,6 +137,9 @@ KE::Processor::InitializeProcessorBlocks()
|
|||||||
/* Zero the array initially */
|
/* Zero the array initially */
|
||||||
RTL::Memory::ZeroMemory(ProcessorBlocks, InstalledCpus * sizeof(PKPROCESSOR_BLOCK));
|
RTL::Memory::ZeroMemory(ProcessorBlocks, InstalledCpus * sizeof(PKPROCESSOR_BLOCK));
|
||||||
|
|
||||||
|
/* Register the processor block for the BSP processor */
|
||||||
|
KE::Processor::RegisterProcessorBlock(0, KE::Processor::GetCurrentProcessorBlock());
|
||||||
|
|
||||||
/* Return success */
|
/* Return success */
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -137,6 +137,9 @@ KE::Processor::InitializeProcessorBlocks()
|
|||||||
/* Zero the array initially */
|
/* Zero the array initially */
|
||||||
RTL::Memory::ZeroMemory(ProcessorBlocks, InstalledCpus * sizeof(PKPROCESSOR_BLOCK));
|
RTL::Memory::ZeroMemory(ProcessorBlocks, InstalledCpus * sizeof(PKPROCESSOR_BLOCK));
|
||||||
|
|
||||||
|
/* Register the processor block for the BSP processor */
|
||||||
|
KE::Processor::RegisterProcessorBlock(0, KE::Processor::GetCurrentProcessorBlock());
|
||||||
|
|
||||||
/* Return success */
|
/* Return success */
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user