mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-05 20:39:19 +00:00
SetKernelStack should have no_stack_protector attribute
This commit is contained in:
@ -148,7 +148,7 @@ namespace GlobalDescriptorTable
|
||||
trace("Global Descriptor Table initialized");
|
||||
}
|
||||
|
||||
void SetKernelStack(void *Stack)
|
||||
__attribute__((no_stack_protector)) void SetKernelStack(void *Stack)
|
||||
{
|
||||
tss[GetCurrentCPU()->ID].StackPointer[0] = (uint64_t)Stack;
|
||||
}
|
||||
|
Reference in New Issue
Block a user