added no_stack_protector attribute to functions

This commit is contained in:
Alex
2022-10-16 21:25:11 +03:00
parent 5f03d287d3
commit d35b4de246
3 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@ namespace GlobalDescriptorTable
0,
};
void Init(int Core)
__attribute__((no_stack_protector)) void Init(int Core)
{
CPU::x64::lgdt(&gdt);