git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Support to multi-threading and pthread interface (POSIX.1-2008) (#23)
[lunaix-os.git]
/
lunaix-os
/
usr
/
libc
/
arch
/
i386
/
trampoline.S
1
#include <lunaix/syscallid.h>
2
3
.section .text
4
.global sigtrampoline
5
sigtrampoline:
6
movl %esp, %eax
7
andl $0xfffffff0, %esp
8
pushl %eax
9
10
leal 4(%eax), %eax
11
pushl %eax
12
pushl $0
13
pushl -4(%eax)
14
call sig_dohandling
15
16
addl $12, %esp
17
18
movl $__SYSCALL_sigreturn, %eax
19
popl %ebx
20
int $33