diff --git a/xtoskrnl/ke/amd64/proc.cc b/xtoskrnl/ke/amd64/proc.cc index fcf0e49..84bf03d 100644 --- a/xtoskrnl/ke/amd64/proc.cc +++ b/xtoskrnl/ke/amd64/proc.cc @@ -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; } diff --git a/xtoskrnl/ke/i686/proc.cc b/xtoskrnl/ke/i686/proc.cc index 3fa24f4..d759a68 100644 --- a/xtoskrnl/ke/i686/proc.cc +++ b/xtoskrnl/ke/i686/proc.cc @@ -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; }