1 #ifndef __LUNAIX_ARCH_ABI_H
2 #define __LUNAIX_ARCH_ABI_H
4 #include <lunaix/types.h>
6 #define stack_alignment 0
9 #define align_stack(ptr) ((ptr) & stack_alignment)
10 #define store_retval(retval) (void)
12 #define store_retval_to(th, retval) (void)
14 static inline void must_inline noret
15 j_usr(ptr_t sp, ptr_t pc)
21 static inline void must_inline noret
26 #define push_arg1(stack_ptr, arg) (void)
28 #define push_arg2(stack_ptr, arg1, arg2) \
31 #define push_arg3(stack_ptr, arg1, arg2, arg3) \
34 #define push_arg4(stack_ptr, arg1, arg2, arg3, arg4) \
38 static inline ptr_t must_inline
51 abi_get_retaddrat(ptr_t fp)
57 #endif /* __LUNAIX_ABI_H */