repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
implement inline 5- and 6-argument syscalls for mipsn32 and mips64
[musl.git]
/
src
/
internal
/
arm
/
syscall.s
blob
64dba2fcb7b93289575361e621287c2804e7682b
1
.syntax unified
2
.global __syscall
3
.hidden __syscall
4
.type __syscall,%function
5
__syscall
:
6
mov ip
,
sp
7
stmfd sp
!,{
r4
,
r5
,
r6
,
r7
}
8
mov
r7
,
r0
9
mov
r0
,
r1
10
mov
r1
,
r2
11
mov
r2
,
r3
12
ldmfd ip
,{
r3
,
r4
,
r5
,
r6
}
13
svc
0
14
ldmfd sp
!,{
r4
,
r5
,
r6
,
r7
}
15
bx
lr