1 #ifndef __LUNAIX_AA64_ABI_H
2 #define __LUNAIX_AA64_ABI_H
4 #include <lunaix/types.h>
7 #define align_stack(ptr) ((ptr) & ~15)
9 static inline void must_inline noret
12 asm ("b _aa64_switch_task");
21 asm ("mov %0, lr" : "=r"(lr));
27 abi_get_retaddrat(ptr_t fp)
29 return ((ptr_t*)fp)[1];
34 #endif /* __LUNAIX_AA64_ABI_H */