git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Framework for exporting system header to user space (#59)
[lunaix-os.git]
/
lunaix-os
/
usr
/
libc
/
arch
/
x86_64
/
trampoline.S
diff --git
a/lunaix-os/usr/libc/arch/x86_64/trampoline.S
b/lunaix-os/usr/libc/arch/x86_64/trampoline.S
index 62064c2ef4ad0d0f42386f65af449f08f533ea4a..a820550873dceed67060618db35a2b80e36a127a 100644
(file)
--- a/
lunaix-os/usr/libc/arch/x86_64/trampoline.S
+++ b/
lunaix-os/usr/libc/arch/x86_64/trampoline.S
@@
-20,7
+20,7
@@
leaq 4(%rax), %rdx // (struct siguctx*)&sigact
call sig_dohandling
leaq 4(%rax), %rdx // (struct siguctx*)&sigact
call sig_dohandling
- movq $__
SYSCALL
_sigreturn, %rax
+ movq $__
NR__lxsys
_sigreturn, %rax
popq %rbx
int $33
popq %rbx
int $33
@@
-32,5
+32,5
@@
callq *%rax
movq %rax, %rbx
callq *%rax
movq %rax, %rbx
- movq $__
SYSCALL
_th_exit, %rax
+ movq $__
NR__lxsys
_th_exit, %rax
int $33
\ No newline at end of file
int $33
\ No newline at end of file