Fix aarch64

This commit is contained in:
Alex
2023-05-11 18:45:49 +03:00
parent 28ec505b78
commit c7046fe06f
5 changed files with 53 additions and 6 deletions

View File

@ -525,11 +525,7 @@ EXTERNC __no_stack_protector NIF void Entry(BootInfo *Info)
: "memory");
asmv("mov $0, %ebp");
#elif defined(aa64)
asmv("mov %0, %%sp"
:
: "r"(KernelStack)
: "memory");
asmv("mov $0, %fp");
#warning "Kernel stack is not set!"
#endif
#ifdef DEBUG