mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
GetCurrentCPU reporting wrong ID
This commit is contained in:
parent
e0bd4cee3c
commit
da7e9d781f
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user