#ifdef __MACH__ #define rt_context_prev _rt_context_prev #define rt_syscall_0 _rt_syscall_0 #define rt_syscall_1 _rt_syscall_1 #define rt_syscall_2 _rt_syscall_2 #define rt_syscall_3 _rt_syscall_3 #define rt_syscall _rt_syscall #define rt_syscall_run _rt_syscall_run #define rt_block_pending_syscalls _rt_block_pending_syscalls #define rt_unblock_pending_syscalls _rt_unblock_pending_syscalls #define rt_pending_syscall_handler _rt_pending_syscall_handler #define rt_syscall_run_pending _rt_syscall_run_pending #define rt_start _rt_start #define rt_start_context _rt_start_context #define rt_task_entry _rt_task_entry #define rt_task_exit _rt_task_exit #endif // defined(__MACH__) #ifdef __aarch64__ #include "aarch64/syscall.S" #elif defined(__x86_64__) #include "x86_64/syscall.S" #endif