X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/bffa3430fbbaaad29bec0b5bee9c1f0bfc7fd068..34f6af4f61e0eec9c96113e07f140b609b4113c8:/lunaix-os/arch/generic/includes/sys/abi.h?ds=inline diff --git a/lunaix-os/arch/generic/includes/sys/abi.h b/lunaix-os/arch/generic/includes/sys/abi.h deleted file mode 100644 index bef0f5d..0000000 --- a/lunaix-os/arch/generic/includes/sys/abi.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef __LUNAIX_ARCH_ABI_H -#define __LUNAIX_ARCH_ABI_H - -#include - -#define stack_alignment 0 - -#ifndef __ASM__ -#define align_stack(ptr) ((ptr) & stack_alignment) -#define store_retval(retval) (void) - -#define store_retval_to(th, retval) (void) - -static inline void must_inline noret -j_usr(ptr_t sp, ptr_t pc) -{ - -} - - -static inline void must_inline noret -switch_context() { - unreachable; -} - -#define push_arg1(stack_ptr, arg) (void) - -#define push_arg2(stack_ptr, arg1, arg2) \ - { } - -#define push_arg3(stack_ptr, arg1, arg2, arg3) \ - { } - -#define push_arg4(stack_ptr, arg1, arg2, arg3, arg4) \ - { } - - -static inline ptr_t must_inline -abi_get_callframe() -{ - return 0; -} - -static inline ptr_t -abi_get_retaddr() -{ - return 0; -} - -static inline ptr_t -abi_get_retaddrat(ptr_t fp) -{ - return 0; -} - -#endif -#endif /* __LUNAIX_ABI_H */ -