mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-29 07:47:59 +00:00
SetKernelStack should have no_stack_protector attribute
This commit is contained in:
parent
b82560e5d4
commit
971f4b2b27
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user