diff --git a/arch/amd64/cpu/smp.cpp b/arch/amd64/cpu/smp.cpp index 600072c..5603ba3 100644 --- a/arch/amd64/cpu/smp.cpp +++ b/arch/amd64/cpu/smp.cpp @@ -189,5 +189,6 @@ namespace SMP KernelAllocator.FreePages(CPUTmpStack, TO_PAGES(STACK_SIZE + 1)); /* We are going to unmap the page after we are done with it. */ Memory::Virtual().Unmap(0x0); + CPUEnabled.store(true, std::memory_order_release); } }