mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-08-25 21:15:00 +00:00
GetCurrentCPU reporting wrong ID
This commit is contained in:
@@ -189,5 +189,6 @@ namespace SMP
|
|||||||
KernelAllocator.FreePages(CPUTmpStack, TO_PAGES(STACK_SIZE + 1));
|
KernelAllocator.FreePages(CPUTmpStack, TO_PAGES(STACK_SIZE + 1));
|
||||||
/* We are going to unmap the page after we are done with it. */
|
/* We are going to unmap the page after we are done with it. */
|
||||||
Memory::Virtual().Unmap(0x0);
|
Memory::Virtual().Unmap(0x0);
|
||||||
|
CPUEnabled.store(true, std::memory_order_release);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user