mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-16 09:41:42 +00:00
Enable compilation of project on AArch64 architecture
This commit is contained in:
@@ -43,7 +43,11 @@ EXTERNC SafeFunction NIF void __cyg_profile_func_enter(void *Function, void *Cal
|
||||
return;
|
||||
|
||||
while (Wait)
|
||||
#if defined(a64) || defined(a32)
|
||||
asmv("pause");
|
||||
#elif defined(aa64)
|
||||
asmv("yield");
|
||||
#endif
|
||||
Wait = true;
|
||||
|
||||
if (Level > 40)
|
||||
@@ -76,7 +80,11 @@ EXTERNC SafeFunction NIF void __cyg_profile_func_exit(void *Function, void *Call
|
||||
return;
|
||||
|
||||
while (Wait)
|
||||
#if defined(a64) || defined(a32)
|
||||
asmv("pause");
|
||||
#elif defined(aa64)
|
||||
asmv("yield");
|
||||
#endif
|
||||
Wait = true;
|
||||
|
||||
if (Level > 40)
|
||||
|
Reference in New Issue
Block a user