mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 18:39:16 +00:00
kernel: add aarch64 architecture support
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -67,8 +67,7 @@ EXTERNC __noreturn __no_stack_protector void __stack_chk_fail(void)
|
||||
asmv("movl %%esp, %0"
|
||||
: "=r"(Stack));
|
||||
#elif defined(__aarch64__)
|
||||
asmv("mov %%sp, %0"
|
||||
: "=r"(Stack));
|
||||
#warning "aarch64 not implemented"
|
||||
#endif
|
||||
error("Stack address: %#lx", Stack);
|
||||
|
||||
|
Reference in New Issue
Block a user