Register BSP in processor block array during initialization

This commit is contained in:
2026-06-08 11:21:53 +02:00
parent a601fd0afa
commit 766e4d9603
2 changed files with 6 additions and 0 deletions

View File

@@ -137,6 +137,9 @@ KE::Processor::InitializeProcessorBlocks()
/* Zero the array initially */
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 STATUS_SUCCESS;
}

View File

@@ -137,6 +137,9 @@ KE::Processor::InitializeProcessorBlocks()
/* Zero the array initially */
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 STATUS_SUCCESS;
}