GetCurrentCPU reporting wrong ID

This commit is contained in:
EnderIce2 2023-10-20 01:42:02 +03:00
parent e0bd4cee3c
commit da7e9d781f
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -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);
}
}