projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix indention with spaces in powerpc asm
[oweals/musl.git]
/
src
/
internal
/
microblaze
/
syscall.s
1
.global __syscall
2
.type __syscall,@function
3
__syscall:
4
addi r12, r5, 0 # Save the system call number
5
add r5, r6, r0 # Shift the arguments, arg1
6
add r6, r7, r0 # arg2
7
add r7, r8, r0 # arg3
8
add r8, r9, r0 # arg4
9
add r9, r10, r0 # arg5
10
lwi r10, r1, 28 # Get arg6.
11
brki r14, 0x8 # syscall
12
rtsd r15, 8
13
nop