Framework for exporting system header to user space (#59)
[lunaix-os.git] / lunaix-os / usr / libc / arch / x86_64 / trampoline.S
index 62064c2ef4ad0d0f42386f65af449f08f533ea4a..a820550873dceed67060618db35a2b80e36a127a 100644 (file)
@@ -20,7 +20,7 @@
         leaq 4(%rax), %rdx     // (struct siguctx*)&sigact
         call sig_dohandling
         
-        movq $__SYSCALL_sigreturn, %rax
+        movq $__NR__lxsys_sigreturn, %rax
         popq %rbx
         int $33
     
@@ -32,5 +32,5 @@
         callq *%rax
 
         movq %rax, %rbx
-        movq $__SYSCALL_th_exit, %rax
+        movq $__NR__lxsys_th_exit, %rax
         int $33
\ No newline at end of file